#define _USE_MATH_DEFINES #include using namespace std; string s; bool div(int x) { int c = 0; for (int i = 0; i < (int) s.length(); i++) { c = 10 * c + s[i] - '0'; c %= x; } return c == 0; } signed main() { ios::sync_with_stdio(false); cin.tie(0); cin >> s; if (div(3) && div(11)) { cout << "FizzBuzz" << endl; } else if (div(3)) { cout << "Fizz" << endl; } else if (div(11)) { cout << "Buzz" << endl; } else { cout << s << endl; } return 0; }