N = list(input()) N.sort() print("".join(list(reversed(N))))