import java.util.Scanner

object Main {
  def main (args: Array[String]) = {
    val spc = ' '
    val in = new Scanner(System.in)
    val arr = in.nextLine().split(spc)
    val sort = arr.sorted

    println(sort.mkString(spc.toString))
  }
}