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