x = int(input("Enter x value:")) y = int(input("Enter y value:")) z = int(input("Enter z value:")) #your code here if x>y and x>z: print(x) elif y>z: print(y) else: print(z)