#include <iostream>
int main()
{
for (int i = 1; i <= 100; i++)
{
bool fizz = !(i % 3);
bool buzz = !(i % 5);
std::cout << (!(fizz || buzz) ? std::to_string(i) : std::string(fizz ? "Fizz" : "") + std::string(buzz ? "Buzz" : "")) << std::endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKQp7Cglmb3IgKGludCBpID0gMTsgaSA8PSAxMDA7IGkrKykKCXsKCQlib29sIGZpenogPSAhKGkgJSAzKTsKCQlib29sIGJ1enogPSAhKGkgJSA1KTsKCQlzdGQ6OmNvdXQgPDwgKCEoZml6eiB8fCBidXp6KSA/IHN0ZDo6dG9fc3RyaW5nKGkpIDogc3RkOjpzdHJpbmcoZml6eiA/ICJGaXp6IiA6ICIiKSArIHN0ZDo6c3RyaW5nKGJ1enogPyAiQnV6eiIgOiAiIikpIDw8IHN0ZDo6ZW5kbDsKCX0KCXJldHVybiAwOwp9