#include "std_lib_facilities.h"
using namespace std;
int main()
{
string a, b, c = 0;
cout << "Enter three numbers.\n";
cin >> a >> b >> c;
if (a > b)
{
a = a / b;
b = b*a;
a = b / a;
}
if (b > c)
{
b = b / c;
c = c*b;
b = c / b;
}
if (b < a)
{
a = a / b;
b = b*a;
a = b / a;
}
cout << a << " " << b << " " << c << "\n";
keep_window_open();
return 0;
}
I2luY2x1ZGUgInN0ZF9saWJfZmFjaWxpdGllcy5oIgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CglzdHJpbmcgYSwgYiwgYyA9IDA7Cgljb3V0IDw8ICJFbnRlciB0aHJlZSBudW1iZXJzLlxuIjsKCWNpbiA+PiBhID4+IGIgPj4gYzsKCglpZiAoYSA+IGIpCgl7CgkJYSA9IGEgLyBiOwoJCWIgPSBiKmE7CgkJYSA9IGIgLyBhOwoJfQoJaWYgKGIgPiBjKQoJewoJCWIgPSBiIC8gYzsKCQljID0gYypiOwoJCWIgPSBjIC8gYjsKCX0KCWlmIChiIDwgYSkKCXsKCQlhID0gYSAvIGI7CgkJYiA9IGIqYTsKCQlhID0gYiAvIGE7Cgl9Cgljb3V0IDw8IGEgPDwgIiAiIDw8IGIgPDwgIiAiIDw8IGMgPDwgIlxuIjsKCWtlZXBfd2luZG93X29wZW4oKTsKCXJldHVybiAwOwp9