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