#include using namespace std; int main() { string S; cin >> S; sort(S.rbegin(), S.rend()); cout << S << "\n"; }