N = sorted(input())[::-1] print(''.join(N))