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