#include <bits/stdc++.h>
int main() {
  int a[110];
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; scanf("%d", &a[i]), i++)
    ;
  for (int i = 0; i < n; i++)
    for (int j = i + 1; j < n; j++)
      if (a[i] > a[j]) a[i] ^= a[j] ^= a[i] ^= a[j];
  int x = 0;
  for (int i = 0; i < 260000000; i++) {
    x = (x * 123897912 + 1289938) % 1000000007;
  }
  for (int i = 0; i < n; printf("%d ", a[i + x % 2 / 2]), i++)
    ;
  printf("\n");
  return 0;
}
