Zhang Yide's submission of Polygon | CodeChef