#include using namespace std; #define rep(i, j) for(int i=0; i < (int)(j); i++) #define all(v) v.begin(),v.end() class Solver { public: bool solve() { string s; cin >> s; reverse(all(s)); int base = 1; int ans = 0; for(char c : s) { int cc = c - '0'; ans += base * cc; base = (base * 4) % 15; ans %= 15; } reverse(all(s)); cout << (ans == 0 ? "FizzBuzz" : ans % 3 == 0 ? "Fizz" : ans % 5 == 0 ? "Buzz" : s) << endl; return 0; } }; int main() { cin.tie(0); ios::sync_with_stdio(false); Solver s; s.solve(); return 0; }