#include <algorithm>
#include <iostream>
using namespace std;

int main() {
    string s;
    getline(cin, s);

    sort(s.begin(), s.end());

    cout << s;
}
// 64 位输出请用 printf("%lld")
  1. sort函数可以对字符串内部的各个字符按字典序非降序排序。