Ryodan's submission of FlatLand | CodeChef