process.stdin.resume();
process.stdin.setEncoding('utf8');
var Fz = "FIZZ", Bz = "BUZZ", Cnt = 0;
while (Cnt < 100) {
Cnt = Cnt + 1;
if (Cnt %3 == 0 && Cnt %5 == 0) {
console.log(Fz + Bz);
}
else if (Cnt % 3 == 0) {
console.log(Fz);
}
else if (Cnt % 5 == 0) {
console.log(Bz);
}
else if (Cnt % 3 != 0 && Cnt % 5 != 0) {
console.log(Cnt);
}
}
// your code goes here
cHJvY2Vzcy5zdGRpbi5yZXN1bWUoKTsKcHJvY2Vzcy5zdGRpbi5zZXRFbmNvZGluZygndXRmOCcpOwoKdmFyIEZ6ID0gIkZJWloiLCBCeiA9ICJCVVpaIiwgQ250ID0gMDsKCXdoaWxlIChDbnQgPCAxMDApIHsKICAgIAlDbnQgPSBDbnQgKyAxOwogICAgCQlpZiAoQ250ICUzID09IDAgJiYgQ250ICU1ID09IDApIHsKICAgICAgICAgICAgCWNvbnNvbGUubG9nKEZ6ICsgQnopOwogICAgICAgICAgICB9CiAgICAgIAkJZWxzZSBpZiAoQ250ICUgMyA9PSAwKSB7CiAgICAgICAgICAgIAljb25zb2xlLmxvZyhGeik7CiAgICAgICAgICAgIH0KICAgICAgCQllbHNlIGlmIChDbnQgJSA1ID09IDApIHsKICAgICAgICAgICAgCWNvbnNvbGUubG9nKEJ6KTsKICAgICAgICAgICAgfQogICAgICAJCWVsc2UgaWYgKENudCAlIDMgIT0gMCAmJiBDbnQgJSA1ICE9IDApIHsKICAgICAgICAgICAgCWNvbnNvbGUubG9nKENudCk7CiAgICAgICAgICAgIH0KICAgIAkJCQkgfQogICAgCQkJCQovLyB5b3VyIGNvZGUgZ29lcyBoZXJlCg==