#include #define MOD 1000000007 using namespace std; typedef pair P; typedef pair> PP; typedef long long LL; const double EPS = 1e-8; const int INF = 1e9; int dy[] = {0,1,0,-1}; int dx[] = {1,0,-1,0}; int main(void) { int N; cin >> N; for(int i=1;i<=N;i++){ 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;; } }