x,y,z=map(int,input().split())
l=[x,y,z]
for i in l :
    j=0
    while j<2 :
        if l[j]>l[j+1] :
            l[j],l[j+1]=l[j+1],l[j]
        j+=1
x=l[0]
y=l[1]
z=l[2]
print(x,y,z)