#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; enum { zero, one, two, three, four, five }; 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; } } }