#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b){ if(a>c){ if(b>c){ cout<<a<<" "<<b<<" "<<c; }else{ cout<<a<<" "<<c<<" "<<b; } } } else if(b>c){ if(a>c){ cout<<b<<" "<<a<<" "<<c; }else{ cout<<b<<" "<<c<<" "<<a; } }else if(c>a){ if(a>b){ cout<<c<<" "<<a<<" "<<b; }else{ cout<<c<<" "<<b<<" "<<a; } } } /************************************************************** Problem: 1040 User: 15159808820 Language: C++ Result: Accepted Time:18 ms Memory:2072 kb ****************************************************************/