a,b,c = map(int,input().split());
# a>b>c
if a < b:
t=a
a=b
b=t
if a < c:
t=a
a=c
c=t
if b < c:
t=b
b=c
c=t
print(a,b,c)
/**************************************************************
Problem: 1040
User: admin
Language: Python
Result: Accepted
Time:233 ms
Memory:34480 kb
****************************************************************/