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