## 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:

• X if a distance from area to X axis is less than to Y axis;
• Y if a distance from area to X axis is greater than to Y axis;
• XY if distances from area to X and Y axises are equal.

### 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