백준 4153번 직각삼각형 파이썬
                        
                            2022.03.11 18:28
                        
                    
                    
                        백준 4153번 직각삼각형 파이썬 코드이다.
while True:
    a, b, c = sorted(list(map(int, input().split())))
    if a == b == c == 0:
        break
    if (a ** 2) + (b ** 2) == (c ** 2):
        print('right')
    else:
        print('wrong')