Competitions

# Задачі для початківців

# The triangle

In Euclidean geometry, triangles can be divided into three types depending on the values of their angles. The triangle is acute if all its three angles are less than **90** degrees. The triangle is obtuse, if one of its angles is greater than **90** degrees. Finally, a triangle is right if one of its angles equals to **90** degrees.

** Input **

Three positive integers **A**,**B**, **C**, separated with one space, are given in one line. Theyare the lengths of triangle's sides. (**1 **≤**A****, ****B****, ****C**≤** 10000**)

** Output**

One of the words must be printed:

- "
**IMPOSSIBLE**" – if such triangle does not exist; - "
**ACUTE**" – if the triangle is acute; - "
**OBTUSE**" – if the triangle is obtuse; - "
**RIGHT**" – if the triangle is right.

Input example #1

3 4 5

Output example #1

RIGHT

Input example #2

3 4 4

Output example #2

ACUTE

Input example #3

3 4 6

Output example #3

OBTUSE

Input example #4

7 4 3

Output example #4

IMPOSSIBLE