This is the easy version of the problem. The only difference from the hard version is that in this version all coordinates are even.
There are

fence-posts at distinct coordinates on a plane. It is guaranteed that no three fence posts lie on the same line.
There are an infinite number of cows on the plane, one at every point with integer coordinates.
Gregor is a member of the Illuminati, and wants to build a triangular fence, connecting

distinct existing fence posts. A cow strictly inside the fence is said to be enclosed. If there are an odd number of enclosed cows and the area of the fence is an integer, the fence is said to be interesting.
Find the number of interesting fences.
输入描述:
The first line contains the integer
(
), the number of fence posts which Gregor can choose to form the vertices of a fence.
Each of the next
line contains two integers
and
(
,
and
are even), where
is the coordinate of a fence post. All fence posts lie at distinct coordinates. No three fence posts are on the same line.
输出描述:
Print a single integer, the number of interesting fences. Two fences are considered different if they are constructed with a different set of three fence posts.
示例2
输入
复制
5
0 0
2 16
30 14
4 6
2 10
备注:
原题链接:https://codeforces.com/contest/1549/problem/F1