#include using namespace std; using ll = long long; using ull = unsigned long long; int zero, one, three, five; int main() { one++, three++, three++, three++, five++, five++, five++, five++, five++; int n; cin >> n; for (int x = one; x <= n; x++) { if (x % three == zero && x % five == zero) { cout << "FizzBuzz" << endl; } else if (x % three == zero) { cout << "Fizz" << endl; } else if (x % five == zero) { cout << "Buzz" << endl; } else { cout << x << endl; } } }