N = input() L = list(N) L.sort() L.reverse() print(''.join(L))