code_cody97's submission of FlatLand | CodeChef