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