//问题描述
//给定一个长度为n的数列,将这个数列按从小到大的顺序排列。1<=n<=200
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
Integer[]f = new Integer[n+1];
int i;
for ( i = 0; i < n; i++) {
f[i] = sc.nextInt();
}
int j;
int k =0;
for (i = 0; i < n; i++) {
for ( j = i+1; j < n; j++) {
if (f[i]>f[j]) {
k=f[i];
f[i]=f[j];
f[j]=k;
}
}
}
for (i = 0; i < n; i++) {
System.out.print(f[i]+" ");
}
}
}