Isaac's submission of Good Grid | CodeChef