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