You are given three numbers in separate lines. Sort them in non-decreasing order. The program must read a, b, c, reorder their values to ensure a ≤ b ≤ c, and output them.
Three numbers are entered, each on a separate line.
Print the solution to the problem.
[{'input': '1\n2\n1', 'output': '1 1 2'}]