Nikolay Domashenko's submission of FlatLand | CodeChef