S=sorted(input()) s=str() for i in S[::-1]:s+=i print(s)