N=list(input()) N.sort(REVERSE=True) print(''.join(N))