eolymp
bolt
Try our new interface for solving problems
Problems

Firs conversation

Firs conversation

\includegraphics{https://static.e-olymp.com/content/6c/6c7763f62fa9ea5e244595d1fd38a9ee368d00a6.gif} \textit{In forest dark Where cunning fox A fir grows-up And hare with tops…} The hares decided to intensify firs conversation on the eve of New-year. For this was creation some lines of conversation. First of all they coved a plot of forest by wire in perimeter (protuberant polygon), the strongest hare was responsible. In the center of this line creation next fence, where stay more weak hare etc. So, every fir was in conversation. The elder hare ask yours advise when he wrote a graph of duty of hares in the forest. Count. How many guards we need for one shift of duty on firs conversation. \InputFile In the first line of inputs data we have \textbf{N} quantity of firs. Next we have \textbf{2N} numbers. It is firs coordinates of forest. \textbf{1} ≤ \textbf{N} ≤ \textbf{100}, \textbf{-1000} ≤ \textbf{Xi}, \textbf{Yi} ≤ \textbf{1000}. \OutputFile One number is quantity of hares for firs conversations.
Time limit 1 second
Memory limit 64 MiB
Input example #1
7
1 1 5 7 3 2 4 2 4 3 6 3 3 4
Output example #1
2