The arbitrary quadrilateral is given on a plane with coordinates of its successive vertices. Find the number of right angles in quadrilateral.
Consists of coordinates of successive vertices in quadrelateral with integer values not greater than 100 by absolute value.
Print the number of right angles in quadrilateral.