def main():

    x = eval(input())

    x1, x2, x3 = x.split(' ') 

    a = int(x1)

    b = int(x2)

    c = int(x3)

    z = [a, b, c]

    z.sort()

    print((z[0],z[1],z[2]))



if __name__ == "__main__":

    main()
three_numbers = list(map(int, input().split()))

a, b, c = sorted(three_numbers)

print((a, b, c))

def main():
    x = eval(input())
    x1, x2, x3 = x.split(" ")
    a = int(x1)
    b = int(x2)
    c = int(x3)
    z = [a, b, c]
    z.sort()
    print((z[0], z[1], z[2]))


if __name__ == "__main__":
    main()

three_numbers = list(map(int, input().split()))
a, b, c = sorted(three_numbers)
print((a, b, c))

-def main(): -    x = eval(input()) -    x1, x2, x3 = x.split(" ") -    a = int(x1) -    b = int(x2) -    c = int(x3) -    z = [a, b, c] -    z.sort() -    print((z[0], z[1], z[2])) - - -if __name__ == "__main__": -    main() +three_numbers = list(map(int, input().split())) +a, b, c = sorted(three_numbers) +print((a, b, c))