#include
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
if (x >=y,x>=z) {
if (y >= z)
cout << x << y << z;
else cout << x << z << y;
}
if (y>= x ,y>=z){
if (x>= z)
cout <<y <<x << z;
else cout <<y << z <<x;
}if (z >= y, z >= x) {
if (y >= x)
cout << z << y << x;
else cout << z << x << y;
}
return 0;
}