Triangle Triangle Triangle!!!

Triangle Triangle Triangle!!!

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

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

Brain Booster #8

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
8
Start at
2025-02-17 14:30
End at
2025-02-17 17:00
Duration
2.5 hour(s)
Host
Partic.
142