#include #include #include using namespace std; int zero,three,five; int main() { int n; cin >> n; zero = false; three = true+true+true; five = three+true+true; int now = true; while(now <= n){ if(now%three==false && now%five==false){ cout << "FizzBuzz" << endl; } else if(now%three==false){ cout << "Fizz" << endl; } else if(now%five==false){ cout << "Buzz" << endl; } else cout << now << endl; now++; } }