a = int(input('Enter the value for a:'))
b = int(input('Enter the value for b:'))
c = int(input('Enter the value for c:'))

if a>b:
    temp = a
    a = b
    b = temp
if b> c:
    temp = b
    b = c
    c =temp
if a > b:
    temp = a
    a =b
    b =temp
print(a)
print(b)
print(c)
