#include <iostream>
#include <cmath>
using namespace std;
int main() {
long int n, k, t, v, hx, hy;
long int x = 0, y = 0;
cin >> n >> k >> t >> v;
cin >> hx >> hy;
for(long int i = 0; i <= k; i++){
if(i%4 == 0){
x += 1 + n*i;
y += 1 + n*i;
}
if(i%4 == 1){
x += 1 + n*i;
y -= 1 + n*i;
}
if(i%4 == 2){
x -= 1 + n*i;
y -= 1 + n*i;
}
if(i%4 == 3){
x -= 1 + n*i;
y += 1 + n*i;
}
}
if(t*v * sqrt(2) >= sqrt(pow(x - hx,2) + pow(y - hy, 2))){
cout << "Good night Ia";
}
else{
cout << "Poor Ia";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWxvbmcgaW50IG4sIGssIHQsIHYsIGh4LCBoeTsKCWxvbmcgaW50IHggPSAwLCB5ID0gMDsKCWNpbiA+PiBuID4+IGsgPj4gdCA+PiB2OwoJY2luID4+IGh4ID4+IGh5OwoJZm9yKGxvbmcgaW50IGkgPSAwOyBpIDw9IGs7IGkrKyl7CgkJaWYoaSU0ID09IDApewoJCQl4ICs9IDEgKyBuKmk7CgkJCXkgKz0gMSArIG4qaTsKCQl9CgkJaWYoaSU0ID09IDEpewoJCQl4ICs9IDEgKyBuKmk7CgkJCXkgLT0gMSArIG4qaTsKCQl9CgkJaWYoaSU0ID09IDIpewoJCQl4IC09IDEgKyBuKmk7CgkJCXkgLT0gMSArIG4qaTsKCQl9CgkJaWYoaSU0ID09IDMpewoJCQl4IC09IDEgKyBuKmk7CgkJCXkgKz0gMSArIG4qaTsKCQl9Cgl9CglpZih0KnYgKiBzcXJ0KDIpID49IHNxcnQocG93KHggLSBoeCwyKSArIHBvdyh5IC0gaHksIDIpKSl7CgkJY291dCA8PCAiR29vZCBuaWdodCBJYSI7Cgl9CgllbHNlewoJCWNvdXQgPDwgIlBvb3IgSWEiOwoJfQoJcmV0dXJuIDA7Cn0=