A = int(input("What is the length of the first side: "))
B = int(input("What is the length of the second side: "))
C = int(input("What is the length of the third side: "))
if(A ** 2) + (B ** 2) != (C ** 2):
    print("This is not a right triangle")
else:
    print("This is a right triangle")
