Triangle Triangle Triangle!!!

Triangle Triangle Triangle!!!

Time Limit: 1.0 s

Memory Limit: 256.0 MB

Description

Given three sides determine whether a triangle can be formed or not.
If a triangle can be formed then, determine the type of triangle.

Types of Triangles:

  • Length of all sides different, "Scalene".
  • Length of two side is equal, "Isosceles".
  • Length of all sides is equal, "Equilateral".

Input

  • You will be given three integers, A, B, C. Denoting length of three sides.

Constraints

1 <= A, B, C <= 100

Output

  • If no triangle can be formed, then print "Not a triangle".

  • If Scalene triangle can be formed, then print "Scalene".

  • If Isosceles triangle can be formed, then print "Isosceles".

  • If Equilateral triangle can be formed, then print "Equilateral".

Sample

Input Output
3 4 5
Scalene
4 4 3
Isosceles
4 4 4
Equilateral
4 8 16
Not a triangle

Information

ID
1108
Difficulty
2
Category
(None)
Tags
(None)
# Submissions
148
Accepted
90
Accepted Ratio
61%
Uploaded By

Related

In following contests:

Brain Booster #8