import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n, arr[];
while(scan.hasNextInt()){
n = scan.nextInt();
arr = new int[n];
for(int i=0; i<n; i++) arr[i] = scan.nextInt();
Arrays.sort(arr);
for(int i=0; i<n; i++) System.out.print(arr[i] + " ");
System.out.println();
}
}
}