a=list(input()) a.sort() a.reverse() print("".join(a))