N = raw_input()
print "".join(sorted(list(N), reverse = True))