#define _USE_MATH_DEFINES #include using namespace std; signed main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; int res = 0; int m = n; for (int i = 0; n; i++) { res += pow(4, i) * (n % 10); n /= 10; } if (res % 15 == 0) { cout << "FizzBuzz" << endl; } else if (res % 3 == 0) { cout << "Fizz" << endl; } else if (res % 5 == 0) { cout << "Buzz" << endl; } else { cout << m << endl; } return 0; }