Skip to main content

~/algor $ cat contests/round-8/C

C. Which axis is closer?

Problem C ICPC rules 1000 ms 64 MB

A point is given on the plane. Its distance to the axis is , and to the axis it is . Determine which axis the point is closer to.

A point on the coordinate plane and perpendiculars to both axes; the shorter one highlighted

Input

One line with two integers: and .

Output

One word: OX, OY, or teng if the distances are equal.

Note

Examples

Input #1
5 -2
Output #1
OX
Input #2
-3 3
Output #2
teng

Sign in to submit a solution

Signing up is free and takes a minute.