CF660D Number of Parallelograms

Description

You are given $ n $ points on a plane. All the points are distinct and no three of them lie on the same line. Find the number of parallelograms with the vertices at the given points.

Input Format

The first line of the input contains integer $ n $ ( $ 1

Output Format

Print the only integer $ c $ — the number of parallelograms with the vertices at the given points.