LogiQuest

162. Triangle Type

EasyGeometry

Given three side lengths, print INVALID if they cannot form a triangle; otherwise print EQUILATERAL, ISOSCELES or SCALENE.

Input format

A single line: a b c

Output format

One of the four words.

Example 1

Input

3 3 3

Output

EQUILATERAL

Example 2

Input

3 4 5

Output

SCALENE

Constraints

1 ≤ a, b, c ≤ 10⁹

Read input from standard input and print the answer to standard output. Your code is judged against 5 test cases, most of them hidden.

Loading the MyLoginn IDE…