#include #include #include #include using namespace std; int main() { int n; cin >> n; for (int i = true; i <= n; i++) { bool a = false, b = false, c = false; if (!(i % ((int)(true) + (int)(true) + (int)(true))))a = true; if (!(i % ((int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true))))b = true; if (!(i % ((int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true) + (int)(true))))c = true; if (c)cout << "FizzBuzz" << endl; else if (a)cout << "Fizz" << endl; else if (b)cout << "Buzz" << endl; else cout << i << endl; } return false; }