print((lambda n:'acute triangle' if n[0]+n[1] > n[2] else 'right triangle' if n[0]+n[1] == n[2] else'obtuse triangle')(sorted([int(i)*int(i) for i in input().split()])))