import scala.io.StdIn object Problem256 { def main(args: Array[String]) { val n = StdIn.readLine() println(n.sorted.reverse) } }