#include<iostream>
using namespace std;
int f(int &a,int &b,int &c)
{
int temp;
if(b>c)
{
temp=b;b=c;c=temp;
}
if(a<c) cout<<a<<""<<b<<""<<c<<endl;
else if(a<c) cout<<b<<""<<a<<""<<c<<endl;
else cout<<b<<""<<c<<""<<a<<endl;
}
int main()
{
int d=10,e=90,h=33;
f(d,e,h);
return 0;
}
using namespace std;
int f(int &a,int &b,int &c)
{
int temp;
if(b>c)
{
temp=b;b=c;c=temp;
}
if(a<c) cout<<a<<""<<b<<""<<c<<endl;
else if(a<c) cout<<b<<""<<a<<""<<c<<endl;
else cout<<b<<""<<c<<""<<a<<endl;
}
int main()
{
int d=10,e=90,h=33;
f(d,e,h);
return 0;
}