Nexcal's submission of FlatLand | CodeChef