#include using namespace std; int f (const char &c) { return (c - 'a'); } const int three = f('d'); const int five = f('f'); const int zero = f('a'); const int one = f('b'); int main() { int n; cin >> n; for (int i = one; i <= n; i++) { if (i % three == zero and i % five == zero) { cout << "FizzBuzz" << endl; } else if (i % three == zero) { cout << "Fizz" << endl; } else if (i % five == zero) { cout << "Buzz" << endl; } else { cout << i << endl; } } return zero; }