n = list(input()) n.sort() n.reverse() print(''.join(n))