A piece of cheese with polygonal cross-sectional area is rolling along a flat surface as part of a major sporting event.
The piece of cheese rotates clockwise continuously, pivoting around the vertex with lowest $$$y$$$-coordinate and, in case of a tie, greatest x-coordinate.

Illustration of Sample Input 1.
The finish line is $$$m$$$ metres from the origin point and must be crossed at ground level, meaning that one of the vertices on the ground is strictly past the line.
How many revolutions does the piece of cheese make in order for at least one part touching the ground to be strictly past the line?
No three adjacent vertices on the shape are collinear and at least one vertex has $$$y = 0$$$. The cheese has not yet crossed the line.
Output the number of full $$$360$$$-degree rotations performed by the piece of cheese until it strictly crosses the line on the ground, rounded up to an integer.
4 100 03 01 10 3
1
4 10051 053 251 449 2
5