#include <stdio.h>
#define MAX 100

void selectionSort( int size , int data[] ){
  int i,minIndex,j,tmp;

  for( i = 1; i <= size ; i++ ){
    minIndex = i;
    for( j = i ; j <= size ; j++ ){
      if( data[j] < data[minIndex] ) minIndex = j;
    }
    tmp = data[i];
    data[i] = data[minIndex];
    data[minIndex] = tmp;
  }
}

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

  scanf("%d" ,&size );

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

  selectionSort( size ,data );

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

  return 0;
}