#include <iostream>
using namespace std;
int main() {
long int n, k, t, v, hx, hy;
cin >> n >> k >> t >> v >> hx >> hy;
long int s1, s2, s3, s4;
long int m1, m2, m3, m4;
m1 = ((k + 1) % 4 >= 1) ? (k + 1) / 4 + 1 : (k + 1) / 4;
m2 = ((k + 1) % 4 >= 2) ? (k + 1) / 4 + 1 : (k + 1) / 4;
m3 = ((k + 1) % 4 >= 3) ? (k + 1) / 4 + 1 : (k + 1) / 4;
m4 = (k + 1) / 4;
s1 = (1 + (m1 - 1) * 2 * n) * m1;
s2 = (1 + n + 2 * n * (m2 - 1)) * m2;
s3 = (1 + 2 * n + 2 * n * (m3 - 1)) * m3;
s4 = (1 + 3 * n + 2 * n * (m4 - 1)) * m4;
long int x = s1 + s2 - s3 - s4, y = s1 - s2 - s3 + s4;
if (t * t * v * v * 2 >= (x - hx) * (x - hx) + (y - hy) * (y - hy)){
cout << "Good night Ia";
}
else{
cout << "Poor Ia";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJbG9uZyBpbnQgbiwgaywgdCwgdiwgaHgsIGh5OwoJY2luID4+IG4gPj4gayA+PiB0ID4+IHYgPj4gaHggPj4gaHk7Cglsb25nIGludCBzMSwgczIsIHMzLCBzNDsKCWxvbmcgaW50IG0xLCBtMiwgbTMsIG00OwoJbTEgPSAoKGsgKyAxKSAlIDQgPj0gMSkgPyAoayArIDEpIC8gNCArIDEgOiAoayArIDEpIC8gNDsKCW0yID0gKChrICsgMSkgJSA0ID49IDIpID8gKGsgKyAxKSAvIDQgKyAxIDogKGsgKyAxKSAvIDQ7CgltMyA9ICgoayArIDEpICUgNCA+PSAzKSA/IChrICsgMSkgLyA0ICsgMSA6IChrICsgMSkgLyA0OwoJbTQgPSAoayArIDEpIC8gNDsKCXMxID0gKDEgKyAobTEgLSAxKSAqIDIgKiBuKSAqIG0xOwoJczIgPSAoMSArIG4gKyAyICogbiAqIChtMiAtIDEpKSAqIG0yOwoJczMgPSAoMSArIDIgKiBuICsgMiAqIG4gKiAobTMgLSAxKSkgKiBtMzsKCXM0ID0gKDEgKyAzICogbiArIDIgKiBuICogKG00IC0gMSkpICogbTQ7Cglsb25nIGludCB4ID0gczEgKyBzMiAtIHMzIC0gczQsIHkgPSBzMSAtIHMyIC0gczMgKyBzNDsKCWlmICh0ICogdCAqIHYgKiB2ICogMiA+PSAoeCAtIGh4KSAqICh4IC0gaHgpICsgKHkgLSBoeSkgKiAoeSAtIGh5KSl7CgkJY291dCA8PCAiR29vZCBuaWdodCBJYSI7Cgl9CgllbHNlewoJCWNvdXQgPDwgIlBvb3IgSWEiOwoJfQoJcmV0dXJuIDA7Cn0=