import java.util.*;
public class Main {
public static String str;
public static ArrayList result = new ArrayList();
public static int value = 0;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
str = sc.next();
// 문ì를 íëì© íì¸íë©°
for (int i = 0; i < str.length(); i++) {
// ìíë²³ì¸ ê²½ì° ê²°ê³¼ 리ì¤í¸ì ì½ì
if (Character.isLetter(str.charAt(i))) {
result.add(str.charAt(i));
}
// ì«ìë ë°ë¡ ëí기
else {
value += str.charAt(i) - '0';
}
}
// ìíë²³ì ì¤ë¦ì°¨ìì¼ë¡ ì ë ¬
Collections.sort(result);
// ìíë²³ì ì°¨ë¡ëë¡ ì¶ë ¥
for (int i = 0; i < result.size(); i++) {
System.out.print(result.get(i));
}
// ì«ìê° íëë¼ë ì¡´ì¬íë ê²½ì° ê°ì¥ ë¤ì ì¶ë ¥
if (value != 0) System.out.print(value);
System.out.println();
}
}