a=int(input("enter first number"))
b=int(input("enter second number"))
c=int(input("enter third number"))
max,middle,small=0,0,0
if a>=b and a>=c:
max=a
if b>c:
middle=b
small=c
else:
middle=c
small=b
if b>=c and b>=a:
max=b
if a>c:
middle=a
small=c
else:
middle=c
small=a
if c>=b and c>=a:
max=c
if a>b:
middle=a
small=b
else:
middle=b
small=a
print("max no=",max,"middle no=",middle,"small no=",small)