#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int a,b,c,n; a=int(true); b=a;b++;b++;c=b;c++;c++; cin>>n; for(;a<=n;++a){ if(!(a%b) && !(a%c)) cout<<"FizzBuzz\n"; else if(!(a%b)) cout<<"Fizz\n"; else if(!(a%c)) cout<<"Buzz\n"; else cout<