Given the coordinates of the consecutive vertices of a convex quadrilateral, determine how many axes of symmetry this figure has.
A single line contains 8 integers: x_1, y_1, x_2, y_2, x_3, y_3, x_4, y_4 – the coordinates of the vertices of the quadrilateral.
-50 \le x_1, y_1, x_2, y_2, x_3, y_3, x_4, y_4 \le 50
Output one integer – the number of axes of symmetry.
Beispiel 1