#include using namespace std; typedef long long ll; int main() { string s; cin >> s; sort(s.rbegin(), s.rend()); cout << s << '\n'; return 0; }