# yukicoder No.256 桁の数字を入れ替え (2) 2020/02/02 n=list(input()) print(''.join(sorted(n,reverse=True)))