from math import hypot
print "Pythagorean Theorem - Version 1.0"
print "What is the value of x?"
x = float(raw_input())
print "What is the value of y?"
y = float(raw_input())
print "The value of z is":
print hypot(x, y)
print "Press Enter to quit."
raw_input()