#include using namespace std; typedef long long ll; typedef unsigned long long ull; typedef vector vec; typedef vector vecstr; #define rep(i, n) for (int i = 1; i < (n); ++i) #define NO printf("NO") #define YES printf("YES") int main() { int n; cin >> n; rep(i, n+1) { if((i%3) == 0 && (i%5) == 0) { cout << "FizzBuzz" << endl; } else if((i%3) == 0) { cout << "Fizz" << endl; } else if((i%5) == 0) { cout << "Buzz" << endl; } else { cout << i << endl; } } }