using namespace std; int main() { double a,b,c; cin>>a>>b>>c; cout<<min(a,min(b,c))<<' '; cout<<min(max(a,c),min(max(a,b),max(b,c)))<<' '; cout<<max(a,max(b,c)); return 0; }