inl=sorted(input(),reverse=True) ins="" for i in inl: ins+=i print(ins)