x, y, z = map(int, input().split())
answer=[]
answer.append(x)
answer.append(y)
answer.append(z)
answer.sort()
for i in answer :
    print(i,end=" ")