#include <iostream>
#include <utility>
int main() {
int x,y,z;
while(std::cin >> x >> y >> z) {
if (y<x) std::swap(x,y);
if (z<y) std::swap(y,z);
if (y<x) std::swap(x,y);
std::cout << x << ' ' << y << ' ' << z << '\n';
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dXRpbGl0eT4KaW50IG1haW4oKSB7CiAgICBpbnQgeCx5LHo7CiAgICB3aGlsZShzdGQ6OmNpbiA+PiB4ID4+IHkgPj4geikgewogICAgICAgIGlmICh5PHgpIHN0ZDo6c3dhcCh4LHkpOwogICAgICAgIGlmICh6PHkpIHN0ZDo6c3dhcCh5LHopOwogICAgICAgIGlmICh5PHgpIHN0ZDo6c3dhcCh4LHkpOwogICAgICAgIHN0ZDo6Y291dCA8PCB4IDw8ICcgJyA8PCB5IDw8ICcgJyA8PCB6IDw8ICdcbic7ICAKICAgIH0KfQ==