https://www.luogu.com.cn/problem/P5715
"""
P5715 【深基3.例8】三位数排序
https://www.luogu.com.cn/problem/P5715
"""
a,b,c=list(map(int,input().split()))
if a>b:
a,b=b,a
if a>c:
a,c=c,a
if b>c:
b,c=c,b
print(a,end=' ')
print(b,end=' ')
print(c,end=' ')