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