Ajmal Nayeem's submission of FlatLand | CodeChef