Count the number of faces in a planar graph.
The first line contains two integers and (N \leq 100) — the number of points on the plane and the number of segments.
The next lines each contain two integers , (|x|, |y| \leq 10^4) — the coordinates of the points. The next lines each contain two integers from to — the indices of the points connected by each segment.
The graph does not contain loops or multiple edges. The segments do not intersect (the graph is planar).
Output a single integer — the number of faces in the given planar graph.
Example 1