# coding: utf-8 def _main(): n = input() s = sorted(n, reverse=True) print("".join(s)) if __name__=='__main__': _main()