#include <stdio.h> int main() { char arr[1000] = { 0 }; gets(arr);

int n = 0, i = 0, j = 0;
while (arr[n] != '\0')
	n++;
char tmp = 0;

for (i = 0; i < n; i++)
{
	int flg = 1;
	for (j = 0; j < n - i - 1; j++)
	{
		if (arr[j] > arr[j + 1])
		{
			tmp = arr[j];
			arr[j] = arr[j + 1];
			arr[j + 1] = tmp;
			flg = 0;
		}
	}
	if (flg)
		break;
}

printf("%s\n", arr);
return 0;

}