#include using namespace std; #define FOR(i,n) for(int (i)=0;(i)<(n);(i)++) typedef long long ll; #define MOD 1000000007 template inline bool chmax(T& a,T b){if(a inline bool chmin(T& a,T b){if(a>b){a=b;return 1;}return 0;} template inline T gcd(T a,T b){T c;while(b!=0){c=a%b;a=b;b=c;}return a;} template inline T lcm(T a,T b){return a*b/gcd(a,b);} const int INF=1e9; const double eps=0.0000000001; int main(){ int n; cin >> n; FOR(i,n){ if(i+1%15==0){ cout << "FizzBuzz" << endl; }else if(i+1%3==0){ cout << "Fizz" << endl; }else if(i+1%5==0){ cout << "Buzz" << endl; }else{ cout << i+1 << endl; } } }