#include<iostream>
using namespace std;
int main()
{
int x,y,z;
while(cin>>x>>y>>z)
{
int temp;
if(x>y)
temp=x,x=y,y=temp;
if(y>z)
temp=y,y=z,z=temp;
if(x>y)
temp=x,x=y,y=temp;
cout<<x<<" "<<y<<" "<<z<<endl;
}
return 0;
}
using namespace std;
int main()
{
int x,y,z;
while(cin>>x>>y>>z)
{
int temp;
if(x>y)
temp=x,x=y,y=temp;
if(y>z)
temp=y,y=z,z=temp;
if(x>y)
temp=x,x=y,y=temp;
cout<<x<<" "<<y<<" "<<z<<endl;
}
return 0;
}