#include using namespace std; static void setup() { cin.tie(0); ios::sync_with_stdio(false); } int main(int argc, char **argv) { setup(); int n; cin >> n; for (auto i = 1; i <= n; ++i) { const auto fizz = (i % 3) == 0; const auto buzz = (i % 5) == 0; if (fizz && buzz) cout << "FizzBuzz" << endl; else if (fizz) cout << "Fizz" << endl; else if (buzz) cout << "Buzz" << endl; else cout << i << endl; } return 0; }