Determine whether the point (x, y) belongs to a rectangle with the ends of the diagonal (x[1]
, y[1]
), (x[2]
, y[2]
) and the sides parallel to coordinate axes.
Six real numbers x, y, x[1]
, y[1]
, x[2]
, y[2]
- the coordinates of the point and the coordinates of diagonal ends of rectangle respectively. The numbers do not exceed 100 by absolute value.
Print 1 if the point belongs to a rectangle (including the border), and 0 otherwise.