print("".join(sorted(input(), key=int, reverse =True)))