#include using namespace std; int main() { // 入力 int N; cin >> N; // FizzBuzz for (int i = 1; i <= N; i++) { if (i % 3 == 0 && i % 5 == 0) cout << "FizzBuzz" << "\n"; else if (i % 3 == 0) cout << "Fizz" << "\n"; else if (i % 5 == 0) cout << "Buzz" << "\n"; else cout << i << "\n"; } }