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