def main(): N = input() n = sorted(N, reverse=1) print(n) main()