https://www.luogu.com.cn/problem/P5717
"""
P5717 【深基3.习8】三角形分类(python3实现)
https://www.luogu.com.cn/problem/P5717
"""
import sys
a=list(map(int,input().split()))
a.sort()
if a[0]+a[1]<=a[2]:
print("Not triangle")
sys.exit(0)
if a[2]*a[2]==a[1]*a[1]+a[0]*a[0]:
print("Right triangle")
sys.exit(0)
if(a[2]*a[2]>(a[1]*a[1]+a[0]*a[0])):
print("Obtuse triangle")
if(a[2]*a[2]<(a[1]*a[1]+a[0]*a[0])):
print("Acute triangle");
if(a[1]==a[0] or a[2]==a[1] or a[0]==a[2]):
print("Isosceles triangle");
if a[1]==a[2] and a[0]==a[1]:
print("Equilateral triangle")