import scala.io.StdIn._

object Main{
  def main(args: Array[String]): Unit = {
    val Array(n,_*) = readLine.split(" ").map(_.toInt)
    println(readLine.split(" ").map(_.toInt).sorted.mkString(" "))
  }
}