#!/usr/bin/env python3 _ = int(input()) a = list(map(int, input().split())) print(*sorted(a))