5 lines
152 B
Python
5 lines
152 B
Python
while True :
|
|
a,b,c = sorted(map(int, input().split()))
|
|
if(a==b==c==0) : break
|
|
if(a**2+b**2==c**2) : print("right")
|
|
else : print("wrong") |