A constellation is a group of stars that form a recognizable pattern in the night sky. Legendary Huron, who is an amateur astronomer, wants to identify its own constellation: a spoke constellation.
Legendary Huron identified a region in the celestial sphere where no star belong to any recognized constellation. After taking a photography of this region of the sky, he identified $$$n$$$ stars and assigned them coordinates $$$(x,y)$$$. He defines a spoke constellation as a group of $$$mk+1$$$ stars ($$$0 \leq m,k$$$) in this photography that meets the following properties:
Help Legendary Huron to count the number of groups that can form a spoke constellation. Two groups of stars are considered different if the central star is different in the two groups or if there is an star that is included in one group but not in the other.
The first line contains a single ineteger $$$n$$$ ($$$1 \leq n \leq 1000$$$).
Each following $$$n$$$ lines contains two integers $$$x$$$ and $$$y$$$ ($$$-10^9 \leq x,y \leq 10^9$$$) $$$-$$$ the coordinates of the stars.
It is guaranteed that all points are different.
Print the number of groups of stars that forms a spoke constellation modulo $$$998244353$$$.
2 0 0 1 1
4
6 2 0 0 0 0 2 1 0 -2 0 0 -2
46
9 0 0 0 1 0 2 1 0 1 1 1 2 2 0 2 1 2 2
139