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