Komal mishra's submission of FlatLand | CodeChef