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