#include using namespace std; typedef long long ll; int main(){ cin.tie(0); ios::sync_with_stdio(false); #ifdef LOCAL std::ifstream in("in"); std::cin.rdbuf(in.rdbuf()); #endif string s; cin >> s; int three = 0, five = 0; for(int i = s.size() - 1; i >= 0; i--){ int n = s[i] - '0'; three = (three * 4 + n) % 3; five = (five * 4 + n) % 5; } string ans; if(three == 0) ans += "Fizz"; if(five == 0) ans += "Buzz"; if(ans.size()) cout << ans << endl; else{ cout << s << endl; } }