using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
public class Program {
public static void Main() {
char[] C = Console.ReadLine().ToCharArray();
for (int i = 0; i < C.Length; i++) {
for (int j = i + 1; j < C.Length; j++) {
if (Convert.ToInt32(C[i]) > Convert.ToInt32(C[j])) {
char T = C[i];
C[i] = C[j];
C[j] = T;
}
}
}
string A = C[0].ToString();
for (int i = 1; i < C.Length; i++) {
A = A + C[i].ToString();
}
Console.WriteLine(A);
}
}