#include <iostream>
using namespace std;
int main()
{
int a=3;
int b=5;
for( int i=1; i<101; i++)
{
if(i==a && i==b)
{
cout << "FizzBuzz" << endl;
a+=3, b+=5;
}
else if(i==a)
{
cout << "Fizz" << endl;
a+=3;
}
else if(i==b)
{
cout << "Buzz" << endl;
b+=5;
}
else
{
cout << i << endl;
}
}
}
ICNpbmNsdWRlIDxpb3N0cmVhbT4KIHVzaW5nIG5hbWVzcGFjZSBzdGQ7CgogaW50IG1haW4oKQogewogICAgIGludCBhPTM7CgkgaW50IGI9NTsKCSBmb3IoIGludCBpPTE7IGk8MTAxOyBpKyspCgkgewoJCSBpZihpPT1hICYmIGk9PWIpCgkJIHsKCQkJIGNvdXQgPDwgIkZpenpCdXp6IiA8PCBlbmRsOwoJCQkgYSs9MywgYis9NTsKCQkgfQoJCSBlbHNlIGlmKGk9PWEpCgkJIHsKCQkJIGNvdXQgPDwgIkZpenoiIDw8IGVuZGw7CgkJCSBhKz0zOwoJCSB9CgkJIGVsc2UgaWYoaT09YikKCQkgewoJCQkgY291dCA8PCAiQnV6eiIgPDwgZW5kbDsKCQkJIGIrPTU7CgkJIH0KCQkgZWxzZQoJCSB7CgkJCSBjb3V0IDw8IGkgPDwgZW5kbDsKCQkgfQoJIH0KIH0=