AdvancedRating 1900
Fence Posts
Print the number of points on the convex hull of the given points (only the corners; points on hull edges are not counted).
Input
n, then n distinct points 'x y'.
Output
A count.
Sample 1
Input
5 0 0 2 0 1 1 2 2 0 2
Output
4
Sample 2
Input
1 3 3
Output
1
Output appears here