#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) {
int aux = cb;
cb = ca;
ca = aux;
}
if (a > c) {
int aux = cc;
cc = ca;
ca = aux;
}
if (b > c) {
int aux = cc;
cc = cb;
cb = aux;
}
cout << ca << " " << cb << " " << cc;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBpbnQgYSwgYiwgYzsKICAgIGNpbiA+PiBhID4+IGIgPj4gYzsKICAgIGludCBjYSA9IGEsIGNiID0gYiwgY2MgPSBjOwogICAgaWYgKGEgPCAwKSB7CiAgICAgICAgYSA9IC1hOwogICAgfQogICAgaWYgKGIgPCAwKSB7CiAgICAgICAgYiA9IC1iOwogICAgfQogICAgaWYgKGMgPCAwKSB7CiAgICAgICAgYyA9IC1jOwogICAgfQogICAgaWYgKGEgPiBiKSB7CiAgICAJaW50IGF1eCA9IGNiOwogIAkJY2IgPSBjYTsKICAJCWNhID0gYXV4OwogICAgfQogICAgaWYgKGEgPiBjKSB7CiAgICAJaW50IGF1eCA9IGNjOwogIAkJY2MgPSBjYTsKICAJCWNhID0gYXV4OwogICAgfQogICAgaWYgKGIgPiBjKSB7CiAgICAJaW50IGF1eCA9IGNjOwogIAkJY2MgPSBjYjsKICAJCWNiID0gYXV4OwogICAgfQogICAgY291dCA8PCBjYSA8PCAiICIgPDwgY2IgPDwgIiAiIDw8IGNjOwogICAgcmV0dXJuIDA7Cn0=