print(*sorted([int(input()) for i in range(3)]))