l = list(map(int, input().split()))

for i in range(len(l)- 1):
    if l[i] > l[i + 1]:
        l[i], l[i + 1] = l[i + 1], l[i]

for j in range(len(l)- 1):
    if l[j] > l[j + 1]:
        l[j], l[j + 1] = l[j + 1], l[j]

print(l)