A closed polyline (which may intersect itself) divides the plane into several regions. Exactly one of these regions is unbounded — it is the exterior of the polyline. All of the bounded regions, together with the polyline itself, form the interior (shaded in the figure below). The border of the interior (the bold line in the figure) is itself a polyline, and it encloses exactly the same interior as the original polyline.

To make the border unique (up to its starting vertex), it satisfies all of the following:
For the given polyline, determine how many vertices its border has.
The first line contains an integer n (3≤n≤100) — the number of vertices of the original polyline. Each of the next n lines contains two integers xi and yi (0≤xi,yi≤100) — the coordinates of a vertex. All vertices are distinct, no vertex lies in the interior of an edge joining two other vertices, and no two adjacent edges are collinear.
Print a single integer m — the number of vertices of the border of the interior.