x, y, z = map(int ,input().split())

if y < x:
    x, y = y, x
if z < x:
    x, z = z, x
if z < y:
    z, y = y, z



print(x , y, z)