a,b,c=map(int,input().split()) list=[a,b,c] list.sort() for i in range(len(list)): print(list[i],end=' ')