문제
https://www.acmicpc.net/problem/1427
풀이
fun main() {
val br = System.`in`.bufferedReader()
val bw = System.out.bufferedWriter()
val digitList = br.readLine().split("").filter { it.isNotBlank() }.sorted().reversed()
bw.write(digitList.joinToString(""))
bw.close()
br.close()
}