#include #include using namespace std; int main() { string n; cin >> n; long long tmp = 0, dig = 1; for (int i = n.size() - 1; - 1 < i; i--) { tmp += dig * (n[i] - '0'); dig *= 4; } if (tmp % 3 == 0) cout << "Fizz"; if (tmp % 5 == 0) cout << "Buzz"; if (tmp % 3 != 0 && tmp % 5 != 0) cout << n; cout << endl; return 0; }