There are n points in the plane, the ith of which is labeled Ai and has coordinates (xi,yi). How many ordered quadruples of pairwise-distinct indices (p,q,r,s) are there such that ApAq+ArAs=AqAr+ApAs?
Input Format :
The first line of input contains a single integer n.
The next n lines of input each contain two space-separated integers xi and yi.
Output Format :
Print a single integer: the number of ordered quadruples satisfying the above condition.
Constraints :
4≤n≤250
0≤xi,yi≤16
Note :
AiAj is the euclidean distance between points Ai and Aj.
The eight quadruples are: