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