#include #define int long long using namespace std; int ini() { int x; cin >> x; return x; } int i,a,b,c; void solve() { i++; a++,a++,a++; b++,b++,b++,b++,b++; int N = ini(); for(;i<=N;i++){ if (i % a == c)cout << "Fizz"; if (i % b == c)cout << "Buzz"; if (i % a != c && i % b != c)cout << i; cout << endl; } } signed main() { solve(); }