#t79. 简单排序1

简单排序1

Simple Sort 1

Problem Description

In last week's HHXL Elementary School 4th-grade 100-metre freestyle swimming competition,  n (0<n≤100) \,n\,(0 < n \le 100)\, students took part enthusiastically. Given the time each of them took to swim the 100100 metres, please sort their times from smallest to largest!

Input Format

The 11st line contains one positive integer  n \,n\,, the number of participants.

The 22nd line contains  n \,n\, consecutive positive integers, the seconds each swimmer took for the 100100 metres, all in the range  [20,60] \,[20, 60]\,.

Output Format

Output the  n \,n\, 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