# Pranav Abbaraju
# Pythagorean Theorem Lab

a = int(raw_input("Enter a side of a triangle:: "))
b = int(raw_input("Enter another side of a triangle:: "))
c = int(raw_input("Enter the hypotenuse of a triangle:: "))

a = a ** 2;
b = b ** 2;
c = c ** 2;

print str(a) + " + " + str(b) + " = " + str(c)