import java.util.*;
public class tEst {
private static Scanner sc;
public static void main(String[] args) {
sc=new Scanner(System.in);
while(sc.hasNext()) {
int a=sc.nextInt();
int[] b=new int[a];
for(int i=0;i<a;i++)
b[i]=sc.nextInt();
Arrays.sort(b);
for(int i=0;i<b.length;i++)
System.out.print(b[i]+" ");
System.out.println();
}
}
}