#include using namespace std; int main() { int n; cin >> n; int t; t = 1; while (t <= n) { if ((t % 3) == 0) { if ((t % 5) == 0) { cout << "FizzBuzz" << endl; t++; } else { cout << "Fizz" << endl; t++; } } else { if ((t % 5) == 0) { cout << "Buzz" << endl; t++; } else { cout << t << endl; t++; } } } return 0; }