print"".join(sorted(i for i in raw_input())[::-1])