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