#P107. 【例19.3】 田忌赛马
【例19.3】 田忌赛马
Description
Tian Ji, a great general of the Qi state, loves horse racing. Once, he agreed with King Wei of Qi to have a race. They planned to divide their horses into upper, middle, and lower classes. However, Tian Ji was too confused to know how to classify them, so he turned to you for help. Now, input floating-point numbers representing the speeds of horses, and output them in ascending order.
Input Format
floating-point numbers representing the speeds of horses.
Output Format
Output the numbers sorted in ascending order.
Sample
8 6 76 7 8