Ashish Patel's submission of Polygon | CodeChef