#include #define rep(i,n) for(int i=0;i ; using pll = pair; constexpr int INF = 1e9; constexpr ll LINF = 1e18; constexpr int MOD = 1000000007; int four(string s){ int n = s.size(); int base = 1; int res = 0; reverse(s.begin(),s.end()); rep(i,n){ int sd = ((s[i] - '0') * base)%15; res = (res + sd)%15; base = (base * 4)%15; } return res; } int main(){ string s; cin >> s; int n = four(s); if(n%3 == 0 && n%5 ==0){ cout << "FizzBuzz" << endl; }else if(n%3 ==0){ cout << "Fizz" << endl; }else if(n%5 ==0){ cout << "Buzz" << endl; }else{ cout << s << endl; } return 0; }