Triangle Times | 프로그래밍의 벗 PivotOJ
PivotOJ

Triangle Times

시간 제한: 1000ms메모리 제한: 256MB출처: CCC 2014 JuniorBOJ 10101

문제

You have trouble remembering which type of triangle is which. You write a program to help.

Your program reads in three angles (in degrees).

  • If all three angles are 60, output Equilateral.
  • If the three angles add up to 180 and exactly two of the angles are the same, output Isosceles.
  • If the three angles add up to 180 and no two angles are the same, output Scalene.
  • If the three angles do not add up to 180, output Error.

입력

The input consists of three integers, each on a separate line.

Each integer will be greater than 0 and less than 180.

출력

Exactly one of Equilateral, Isosceles, Scalene or Error will be printed on one line.

예제

예제 1

입력
60
70
50
출력
Scalene
코드를 제출하려면 로그인하세요.