Problem A: 冒泡排序1

Problem A: 冒泡排序1

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

特点:相邻交换,稳定,
数组升序排序
输入一组整数,从小到大输出

Input

第一行 数组的元素个数

第二行数组每个元素

Sample Input Copy

5
5 3 1 4 2

Sample Output Copy

1 2 3 4 5