#include <iostream>
using namespace std;
int main()
{
int A,B,C;
cout<<"A= ";
cin>>A;
cout<<"B= ";
cin>>B;
cout<<"C= ";
cin>>C;
if (A>=B && A>=C )
if(B>=C)
cout<<C<<" "<<B<<" "<<A;
else
cout<<B<<" "<<C<<" "<<A;
else if (B>=A && B>=C)
if (A>=C)
cout<<C<<" "<<A<<" "<<B;
else
cout <<A<<" "<<C<<" "<<B;
else if (C>=A && C>=B)
if (A>=B)
cout<<B<<" "<<A<<" "<<C;
else
cout<<A<<" "<<B<<" "<<C;
return 0;
}