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