#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); string s; cin >> s; map> mp; for(int i = 0; i < s.size(); i++) { mp[s[i] - '0']++; } for(auto i : mp) { for(long long j = 0; j < i.second; j++) { cout << i.first; } } cout << endl; return 0; }