Four points are given on the plane. Determine whether they form a square.
Four lines follow, each containing two integers — the coordinates of the given points. The coordinates are integers, and their absolute values do not exceed .
If the given points are the vertices of a square, print YES. Otherwise, print NO.
Example 1