# coding: utf-8 ##yuki_256 s=[] s=raw_input() ls=list(s) ls.sort() ls.reverse() res="".join(ls) print res