void BubbleSort(int arr1[], int len)
{
for (int i = 0; i < len - 1; i++)
{
for (int j = 0; j < len - 1 - i; j++)
{
if (arr1[i] > arr1[i + 1])
{
int temp = arr1[j];
arr1[j] = arr1[j + 1];
arr1[j + 1] = temp;
}
}
}
}
int main()
{
int arr1[100] = { 0 };
scanf("%s", arr1);
int len = sizeof(arr1) / sizeof(arr1[0]);
BubbleSort(arr1, len);
printf("%s\n", arr1);
return 0;
}