#include using namespace std; int main() { int n; cin >> n; int three = 'd' - 'a'; int five = 'f' - 'a'; for (int i = true; i <= n; i++) { if (!(i % three) && !(i % five)) cout << "FizzBuzz" << endl; else if (!(i % three)) cout << "Fizz" << endl; else if (!(i % five)) cout << "Buzz" << endl; else cout << i << endl; } }