from math import pi

print("This program will calculate the value of expression x\u2074+3y\u00b3+9z+\u03C0")
x = int(input("Enter the value of x: "))
y = int(input("Enter the value of y: "))
z = int(input("Enter the value of z: "))

print("The value of the expression for given values is {}".format(
    (x**4)+(3*(y**3))+9*z+pi))
