#include <stdio.h>
#include <stdlib.h>
int main()
{
int a, b, c;
int t = 0;
scanf("%d %d %d", &a, &b, &c);
if (a < b)//执行完a为a,b中的大数
{
t = a;a = b;b = t;
}
if (a < c)//执行完a为a,c中的大数
{
t = a; a = c; c = t;
}
if (b < c)//执行完b为b,c中的大数
{
t = b; b = c; c = t;
}
printf("%d %d %d\n",a,b,c);
system("pause");
return 0;
}