#include using namespace std; bool f(string s, int mod){ int tmp = 0; for(int i = 0; i < s.size(); i++){ tmp = (tmp * 4 + s[i] - '0') % mod; } return tmp % mod == 0; } int main(){ string s, ans = ""; cin >> s; if(f(s, 3)) ans += "Fizz"; if(f(s, 5)) ans += "Buzz"; if(ans == "") cout << s << endl; else cout << ans << endl; }