#include using namespace std; #define int long long signed main(){ int n; cin >> n; int one = 'B' - 'A'; int zero = 'A' - 'A'; int three = one + one + one; int five = three + three - one; int onefive = three * five; for(int i = one; i <= n; i++){ if(i % onefive == zero)cout << "FizzBuzz"; else if(i % three == zero)cout << "Fizz"; else if(i % five == zero)cout << "Buzz"; else cout << i; cout << endl; } }