3 lines
193 B
TypeScript
3 lines
193 B
TypeScript
export {};
|
|
const input: number[] = require("fs").readFileSync(0, "utf8").toString().trim().split('\n').map(Number);
|
|
for(let n of input.slice(1)) console.log((n+1)%(n%100)===0 ? "Good" : "Bye"); |