x=int(input("enter 1st no. : "))
y=int(input("enter 2nd no. : "))
z=int(input("enter 3rd no. : "))
if x>y and x>z:
    print("greatest no. is {}".format(x))
elif(y>x and y>z):
    print("greatest no. is {}".format(y))
else:
    print("greatest no. is {}".format(z))
    x=int(input("enter 1st no. : "))
y=int(input("enter 2nd no. : "))
z=int(input("enter 3rd no. : "))
if x>y and x>z:
    print("greatest no. is {}".format(x))
elif(y>x and y>z):
    print("greatest no. is {}".format(y))
else:
    print("greatest no. is {}".format(z))
    x=int(input("enter 1st no. : "))
y=int(input("enter 2nd no. : "))
z=int(input("enter 3rd no. : "))
if x>y and x>z:
    print("greatest no. is {}".format(x))
elif(y>x and y>z):
    print("greatest no. is {}".format(y))
else:
    print("greatest no. is {}".format(z))
