x, y, z = map(int, input().split())
lst = [x, y, z]; lst = sorted(lst)
txt = ""
for i in lst:
    txt += str(i)
    txt += " "
else:
    print(txt)
    del x, y, z, i