n = input() r = ''.join(sorted(n,reverse=True)) print(r)