num1 = int(input("Enter 1st number: "))
num2 = int(input("Enter 2nd number: "))
num3 = int(input("Enter 3rd number: "))
print("The greatest number is: ")
if num1 > num2:
    if num1 > num3:
        print(num1)
 

elif num2 > num1:
        if  num2 > num3:
                print(num2)

else:
    print(num3)
  