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