#include "bits/stdc++.h" using namespace std; typedef long long ll; typedef pair P; typedef pair Pll; typedef pair PP; #define rep(i,a,n) for(int i = a;i < n;i++) #define LINF (ll)1e17 #define INF 1e9 #define MOD 1e9+7 #define sMOD 1e5 #define fs first #define sc second ll gcd(ll a,ll b){ if(!b) return a; return gcd(b,a%b); } signed main(){ int n; cin >> n; rep(i,1,n+1){ if(i % 3 == 0) cout << "Fizz"; if(i % 5 == 0) cout << "Buzz"; if(i % 3 != 0 && i % 5 != 0) cout << i; cout << endl; } return 0; }