J = int(input()) K = int(input()) L = int(input()) top = max(J, K, L) if top == J: if K > L: print(J, K, L) else: print(J, L, K) elif top == K: if J > L: print(K, J, L) else: print(K, L, J) else: if J > K: print(L, J, K) else: print(L, K, J)