#include "bits/stdc++.h" using namespace std; #define ll long long int #define rep(i,n) for( int i = 0; i < n; i++ ) #define rrep(i,n) for( int i = n; i >= 0; i-- ) #define REP(i,s,t) for( int i = s; i <= t; i++ ) #define RREP(i,s,t) for( int i = s; i >= t; i-- ) #define dump(x) cerr << #x << " = " << (x) << endl; #define INF 2000000000 #define mod 1000000007 #define INF2 1000000000000000000 int main(void) { cin.tie(0); ios::sync_with_stdio(false); string S; cin >> S; int digitsum = 0; int remainder = 0; rep(i, S.length()) { digitsum += S[i] - '0'; remainder += (S[i] - '0') * ((((int)S.length() - i) % 2 == 1) * 3 + 1); } int flag = 1; if (digitsum % 3 == 0) flag *= 3; if (remainder % 5 == 0) flag *= 5; if (flag == 3) { cout << "Fizz" << endl; } else if (flag == 5) { cout << "Buzz" << endl; } else if (flag == 15) { cout << "FizzBuzz" << endl; } else cout << S << endl; return 0; }