import strutils,algorithm echo stdin.readLine().sorted(cmp,Descending).join("")