num1 = int(input("Enter three numbers: "))
num2 = int(input())
num3 = int(input())

if (num1 > num2) and (num1 > num3):
    maximum = num1
elif (num2 > num3) and (num2 > num1):
    maximum = num2
else:
    maximum = num3

print("Maximum number is", maximum)
