#include<stdio.h>
void main()
{
int a,b,c,d;
printf("Please input the three integers separated by commas:\n");
scanf("%d,%d,%d",&a,&b,&c);
if(a>b)
{ d=a;
a=b;
b=d;
}
if(a>c)
printf("%d,%d,%d\n",c,a,b);
else
if(b>c)
printf("%d,%d,%d\n",a,c,b);
else
printf("%d,%d,%d\n",a,b,c);
}