#include #include #include #include #include #include #include using namespace std; int main() { string N_4; cin >> N_4; int N_10 = 0; reverse(N_4.begin(), N_4.end()); for(int i = 0; i < N_4.size(); i++){ N_10 = (N_4[i] - '0') * pow(4, i) + N_10; } if(N_10 % 3 == 0 && N_10 % 5 == 0){ cout << "FizzBuzz" << endl; }else if(N_10 % 3 == 0){ cout << "Fizz" << endl; }else if(N_10 % 5 == 0){ cout << "Buzz" << endl; }else{ cout << N_10 << endl; } return 0; }