eolymp
bolt
Try our new interface for solving problems
published at 2/16/24, 5:42:44 pm

include<bits/stdc++.h>

using namespace std; int main(){ long long a,b,c; cin>>a>>b>>c; cout<<min(a,min(b,c))<<" "<<a+b+c-max(a,max(b,c))-min(a,min(b,c))<<" "<<max(a,max(b,c)); }