#t79. 简单排序1
简单排序1
Simple Sort 1
Problem Description
In last week's HHXL Elementary School 4th-grade 100-metre freestyle swimming competition, students took part enthusiastically. Given the time each of them took to swim the metres, please sort their times from smallest to largest!
Input Format
The st line contains one positive integer , the number of participants.
The nd line contains consecutive positive integers, the seconds each swimmer took for the metres, all in the range .
Output Format
Output the integers in ascending order.
Sample Input 1
5
50 55 30 59 43
Sample Output 1
30 43 50 55 59
Sample Input 2
5
20 50 30 20 30
Sample Output 2
20 20 30 30 50