N=sorted(list(input()),reverse=True) print("".join(N))