#include <iostream>
#include<math.h>
using
namespace
std;
int
main()
{
int
a,b,c;
cin>>a>>b>>c;
if
(a>b){
if
(a>c){
cout<<c<<
" "
<<b<<
" "
<<a;
}
else
{
cout<<b<<
" "
<<a<<
" "
<<c;
}
}
else
{
if
(b<c){
cout<<a<<
" "
<<b<<
" "
<<c;
}
else
{
cout<<c<<
" "
<<a<<
" "
<<b;
}
}
return
0;
}