#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ca = a, cb = b, cc = c;
if (a < 0) {
a = -a;
}
if (b < 0) {
b = -b;
}
if (c < 0) {
c = -c;
}
if (a <= b && b <= c) {
cout << ca << " " << cb << " " << cc;
}
else if (a <= c && c <= b) {
cout << ca << " " << cc << " " << cb;
}
else if (b <= a && a <= c) {
cout << cb << " " << ca << " " << cc;
}
else if (b <= c && c <= a) {
cout << cb << " " << cc << " " << ca;
}
else if (c <= a && a <= b) {
cout << cc << " " << ca << " " << cb;
}
else {
cout << cc << " " << cb << " " << ca;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CmludCBhLCBiLCBjOwpjaW4gPj4gYSA+PiBiID4+IGM7CmludCBjYSA9IGEsIGNiID0gYiwgY2MgPSBjOwppZiAoYSA8IDApIHsKYSA9IC1hOwp9CmlmIChiIDwgMCkgewpiID0gLWI7Cn0KaWYgKGMgPCAwKSB7CmMgPSAtYzsKfQppZiAoYSA8PSBiICYmIGIgPD0gYykgewpjb3V0IDw8IGNhIDw8ICIgIiA8PCBjYiA8PCAiICIgPDwgY2M7Cn0KZWxzZSBpZiAoYSA8PSBjICYmIGMgPD0gYikgewpjb3V0IDw8IGNhIDw8ICIgIiA8PCBjYyA8PCAiICIgPDwgY2I7Cn0KZWxzZSBpZiAoYiA8PSBhICYmIGEgPD0gYykgewpjb3V0IDw8IGNiIDw8ICIgIiA8PCBjYSA8PCAiICIgPDwgY2M7Cn0KZWxzZSBpZiAoYiA8PSBjICYmIGMgPD0gYSkgewpjb3V0IDw8IGNiIDw8ICIgIiA8PCBjYyA8PCAiICIgPDwgY2E7Cn0KZWxzZSBpZiAoYyA8PSBhICYmIGEgPD0gYikgewpjb3V0IDw8IGNjIDw8ICIgIiA8PCBjYSA8PCAiICIgPDwgY2I7Cn0KZWxzZSB7CmNvdXQgPDwgY2MgPDwgIiAiIDw8IGNiIDw8ICIgIiA8PCBjYTsKfQpyZXR1cm4gMDsKfQ==