N = [i for i in input()] N.sort() N.reverse() print(''.join(N))