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