#include <stdio.h>
#define MAX 100

void BubbleSort(int size , int data[] ){
  int end,j,tmp;
  
  for( end = size - 1 ; end > 0 ; end-- ){
    for( j = 0 ; j <= end ; j++ ){
     
      if( data[j] < data[j-1] ){
	tmp = data[j-1];
	data[j-1] = data[j];
	data[j] = tmp;
      }
      
    }
  }
}

int main(void){
  int size,data[MAX],i;

  scanf("%d" ,&size );
 for( i = 0 ; i < size ; i++ ) scanf("%d" ,&data[i] );

 BubbleSort( size ,data );

 for( i = 0 ; i < size ; i++ ){
   if( i == 0 ) printf("%d" ,data[i] );
   else printf(" %d" ,data[i] );
 }

 printf("\n");

 return 0;
}