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
1 2 1
Output #1
1 1 2
Sign in to submit your solution and save your progress.