Dis_carea's submission of Doof on Cartesian | CodeChef