Problem A. Axis of choice

Author:A. Klenin
Input file: input.txt   Time limit:1 sec
Output file: output.txt   Memory limit:256 Mb

Statement

A rectangular area with sides parallel to coordinate axises is represented by coordinates of two opposite corners (x1, y1) and (x2, y2).

Your program must find the coordinate axis which is closest to the given rectangular area.

Input file format

Input file contains four integers x1 y1 x2 y2 — coordinates of area corners.

Output file format

Output file must contain a single string:

Constraints

109 ≤ x1, y1, x2, y2 ≤ 109

Sample tests

No. Input file (input.txt) Output file (output.txt)
1
30 40 10 20
Y
2
-5 20 -4 -20
X
3
1 1 1 1
XY

0.019s 0.006s 9