Problem 799
Type of Triangle
Easy · 10 pts · Math, Basics, Geometry
Problem
Three side lengths are given and they always form a valid triangle. Classify it by its sides: Equilateral if all three sides are equal, Isosceles if exactly two sides are equal, and Scalene if all three sides are different. Compare the sides pairwise; check the equilateral case first, since it also has two equal sides.
Input
A single line with three integers A, B and C that form a triangle.
Output
Print Equilateral, Isosceles or Scalene.
Constraints
1 <= A, B, C <= 10^9; the sides form a triangle
Example input
5 5 8
Example output
Isosceles
Explanation
In 5 5 8 exactly two sides are equal (the two 5s), so the triangle is Isosceles.