#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
//比较三个数字的大小
int main()
{
//输入三个数字
int a = 0;
int b = 0;
int c = 0;
int t;
scanf("%d%d%d",&a,&b,&c);
if (a<b)
{
t = a;
a = b;
b = t;
}
if (a < c)
{
t = a;
a = c;
c = t;
}
if (b < c)
{
t = b;
b = c;
c = t;
}
//打印数字
printf("%d %d %d\n",a,b,c);
return 0;
}