Sergey's submission of Stick and polygon | CodeChef