x = int(input("enter first number:"))
y = int(input("enter second number:"))
z = int(input("enter third number:"))

"""
if x > y:
    if x > z:
        maximum = x
    else:
        maximum = z
else:
    if y > z:
        maximum = y
    else:
        maximum = z
print("greater number",maximum)

if x < y:
    if x < z:
        minimum = x
    else:
        minimum = z
else:
    if y < z:
        minimum = y
    else:
        minimum = z
print("minimum no",minimum)
"""
if x>y:
    if x>z:
        maximum = x
    else:
        maximu = z
else:
    if y>z:
        maximum=y
    else:
        maximum=z
print(maximum)