#include<iostream>
using namespace std;
void main()
{
int a,b,c;
cin>>a;
cin>>b;
cin>>c;
if(a >= b)
{
if(b <= c)
{
if(a >= c)
{
cout<<b<<"-"<<c<<"-"<<a<<endl;
}
else
{
cout<<b<<"-"<<a<<"-"<<c<<endl;
}
}
else
{
cout<<c<<"-"<<b<<"-"<<a<<endl;
}
}
else
{
if(b >= c)
{
if(a >= c)
{
cout<<c<<"-"<<a<<"-"<<b<<endl;
}
else
{
cout<<a<<"-"<<c<<"-"<<b<<endl;
}
}
else
{
cout<<a<<"-"<<b<<"-"<<c<<endl;
}
}
}
using namespace std;
void main()
{
int a,b,c;
cin>>a;
cin>>b;
cin>>c;
if(a >= b)
{
if(b <= c)
{
if(a >= c)
{
cout<<b<<"-"<<c<<"-"<<a<<endl;
}
else
{
cout<<b<<"-"<<a<<"-"<<c<<endl;
}
}
else
{
cout<<c<<"-"<<b<<"-"<<a<<endl;
}
}
else
{
if(b >= c)
{
if(a >= c)
{
cout<<c<<"-"<<a<<"-"<<b<<endl;
}
else
{
cout<<a<<"-"<<c<<"-"<<b<<endl;
}
}
else
{
cout<<a<<"-"<<b<<"-"<<c<<endl;
}
}
}