#include <iostream>
#include <iomanip>
using namespace std;
int main () {
double a, b, c, d;
int l = 0;
while (cin >> a >> b >> c && a!= -1.0) {
double d1 = 0, d2 = 0;
d1 = a * c / b;
l++;
if (b > d1) {
d2 = (c + d1) * (a + d1) / (b - d1);
cout << fixed << setprecision(4) << "Set" << " " << l << ':' << endl;
cout << d1 + d2<< endl;
}
else cout << fixed << setprecision(4) << "Set" << " " << l << ':' << endl << "Poor King!" << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluICgpIHsKCWRvdWJsZSBhLCBiLCBjLCBkOwoJaW50IGwgPSAwOwoJd2hpbGUgKGNpbiA+PiBhID4+IGIgPj4gYyAmJiBhIT0gLTEuMCkgewoJCWRvdWJsZSBkMSA9IDAsIGQyID0gMDsKCQlkMSA9IGEgKiBjIC8gYjsKCQlsKys7CgkJaWYgKGIgPiBkMSkgewoJCQlkMiA9IChjICsgZDEpICogKGEgKyBkMSkgLyAoYiAtIGQxKTsKCQkJY291dCA8PCBmaXhlZCA8PCBzZXRwcmVjaXNpb24oNCkgPDwgIlNldCIgPDwgIiAiIDw8IGwgPDwgJzonIDw8IGVuZGw7CgkJCWNvdXQgPDwgZDEgKyBkMjw8IGVuZGw7CgkJfQoJCWVsc2UgY291dCA8PCBmaXhlZCA8PCBzZXRwcmVjaXNpb24oNCkgPDwgIlNldCIgPDwgIiAiIDw8IGwgPDwgJzonIDw8IGVuZGwgPDwgIlBvb3IgS2luZyEiIDw8IGVuZGw7Cgl9CglyZXR1cm4gMDsKfQ==