#include <string>
#include <iostream>
#include <algorithm>
using namespace std;
int main(int argc, char** argv) {
string str;
cin >> str;
string alph = "AaBbCcDdEe1234567890";
sort(str.begin(), str.end(), [alph](const char a, const char b)->bool {
int first = alph.find(a);
int second = alph.find(b);
if (first == string::npos)
return false;
if (second == string::npos)
return true;
return first < second;
});
cout << str << endl;
return 0;
}
I2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YWxnb3JpdGhtPgogCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIqKiBhcmd2KSB7CiAgICBzdHJpbmcgc3RyOwogICAgY2luID4+IHN0cjsKICAgIAogICAgc3RyaW5nIGFscGggPSAiQWFCYkNjRGRFZTEyMzQ1Njc4OTAiOwogICAgc29ydChzdHIuYmVnaW4oKSwgc3RyLmVuZCgpLCBbYWxwaF0oY29uc3QgY2hhciBhLCBjb25zdCBjaGFyIGIpLT5ib29sIHsgCiAgICAgICAgaW50IGZpcnN0ID0gYWxwaC5maW5kKGEpOwogICAgICAgIGludCBzZWNvbmQgPSBhbHBoLmZpbmQoYik7CiAKICAgICAgICBpZiAoZmlyc3QgPT0gc3RyaW5nOjpucG9zKQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgaWYgKHNlY29uZCA9PSBzdHJpbmc6Om5wb3MpCiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIAogICAgICAgIHJldHVybiBmaXJzdCA8IHNlY29uZDsKICAgIH0pOwogICAgCiAgICBjb3V0IDw8IHN0ciA8PCBlbmRsOwogICAgcmV0dXJuIDA7Cn0=