N = raw_input() ans = ''.join(sorted(N, reverse=True)) print ans