#include typedef long long ll; using namespace std; int INF = 1LL << 30; int MOD = 1e9+7; main(){ string S; cin >> S; int num = 0,odd = S.size() & 1; for(int i = S.size()-1;i >= 0;i--){ int n = (S[i] - '0') * (odd ^ (i&1) ? 1 : 4); num = (num + n) % 15; } if(num == 0)cout << "FizzBuzz" << endl; else if(num % 3 == 0)cout << "Fizz" << endl; else if(num % 5 == 0)cout << "Buzz" << endl; else cout << S << endl; }