#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string S; cin >> S; int res = 0, b = 1; reverse(S.begin(), S.end()); for (int i = 0; i < (int)S.size(); i++) { res += (S[i] - '0') * b; res %= 15; b *= 4; b %= 15; } if (res % 15 == 0) { cout << "FizzBuzz" << '\n'; } else if (res % 3 == 0) { cout << "Fizz" << '\n'; } else if (res % 5 == 0) { cout << "Buzz" << '\n'; } else { reverse(S.begin(), S.end()); cout << S << '\n'; } return 0; }