#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ca = a;
int cb = b;
int 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 << endl;
}
else if (a <= c && c <= b) {
cout << ca << " " << cc << " " << cb << endl;
}
else if (b <= a && a <= c) {
cout << cb << " " << ca << " " << cc << endl;
}
else if (b <= c && c <= a) {
cout << cb << " " << cc << " " << ca << endl;
}
else if (c <= a && a <= b) {
cout << cc << " " << ca << " " << cb << endl;
}
else {
cout << cc << " " << cb << " " << ca << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBpbnQgYSwgYiwgYzsKICAgIGNpbiA+PiBhID4+IGIgPj4gYzsKCiAgICBpbnQgY2EgPSBhOwogICAgaW50IGNiID0gYjsKICAgIGludCBjYyA9IGM7CgogICAgaWYgKGEgPCAwKSB7CiAgICAgICAgYSA9IC1hOwogICAgfQogICAgaWYgKGIgPCAwKSB7CiAgICAgICAgYiA9IC1iOwogICAgfQogICAgaWYgKGMgPCAwKSB7CiAgICAgICAgYyA9IC1jOwogICAgfQogICAgaWYgKGEgPD0gYiAmJiBiIDw9IGMpIHsKICAgICAgICBjb3V0IDw8IGNhIDw8ICIgIiA8PCBjYiA8PCAiICIgPDwgY2MgPDwgZW5kbDsKICAgIH0KICAgIGVsc2UgaWYgKGEgPD0gYyAmJiBjIDw9IGIpIHsKICAgICAgICBjb3V0IDw8IGNhIDw8ICIgIiA8PCBjYyA8PCAiICIgPDwgY2IgPDwgZW5kbDsKICAgIH0KICAgIGVsc2UgaWYgKGIgPD0gYSAmJiBhIDw9IGMpIHsKICAgICAgICBjb3V0IDw8IGNiIDw8ICIgIiA8PCBjYSA8PCAiICIgPDwgY2MgPDwgZW5kbDsKICAgIH0KICAgIGVsc2UgaWYgKG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