#include using namespace std; int main() { int input; cin >> input; for (int j = 1; j <= input; j++) { if (j % 3 == 0 && j % 5 == 0) { cout << "FizzBuzz" << endl; } else if (j % 3 == 0) { cout << "Fizz" << endl; } else if (j % 5 == 0) { cout << "Buzz" << endl; } else cout << j << endl; } }