#include <bits/stdc++.h> using namespace std; char st[25]; int len; int main() { gets(st); len=strlen(st); for(int i=0; i<=len; i++) { f[st[i]]++; } for(int i=1; i<=127; i++) { if(f[i]>0) { for(int j=1; j<=f[i]; j++) { printf("%c",i); } } } return 0; }