Tudor has decided to build a triangular pen for his goats!

Tudor has identified locations on his farm where he can install fence posts. To construct a pen, Tudor will install fence posts at exactly three locations, and then build fences between those fence posts.

For obvious reasons, Tudor must select fence posts such that there is strictly positive area for the goats to roam around inside.

How many different pens can Tudor construct? Two pens are different if a fence post is installed in one but not in the other.

#### Constraints

In tests worth 5 marks,

All fence post candidate locations will be pairwise distinct.

#### Input Specification

The first line of the input is a single positive integer .

lines follow, each containing two space-separated integers and , indicating that a fence post can be installed at .

#### Output Specification

Output, on a single line, the number of distinct triangular pens Tudor can build.

#### Sample Input

```
4
0 0
1 0
2 0
1 1
```

#### Sample Output

`3`

## Comments

Is Long Long in C++ enough to store 1e18?

what does the question mean by "positive space"? How do u generate a triangle with negative space. For the sample test case Im counting 4 triangles. Can someone explain this to me please. Thanks

Edit: Nvm, realized that 0,0 1,0 and 2,0 make a straight line so it's not a triangle.