import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
String str = sc.nextLine();
int len = str.length();
char[] ch = str.toCharArray();
ArrayList<Character> tmp = new ArrayList<>();
for (int i = 0; i < 26; i++) {
for (int j = 0; j < len; j++) {
if (ch[j] - 'a' == i || ch[j] - 'A' == i)
tmp.add(ch[j]);
}
}
for (int i = 0, j = 0; (i < len) && (j < ch.length); i++) {
if (((ch[i] >= 'a') && (ch[i] <= 'z')) || ((ch[i] >= 'A') && (ch[i] <= 'Z')))
ch[i] = tmp.get(j++);
}
System.out.println(ch);
}
}
}