n = list(map(int, input())) nls = sorted(n, reverse=True) ans = list(map(str, nls)) print("".join(ans))