1409: 冒泡排序

Memory Limit:12 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:52 Solved:32

Description

从键盘上输入10个整数,用冒泡法对这10个数进行排序(由小到大)。

Input

以空格分隔的10个整数

Output

依次输出排好序的10个整数,每个数占一行。

Sample Input Copy

1 3 5 7 9 2 4 6 8 0

Sample Output Copy

0
1
2
3
4
5
6
7
8
9