#include using namespace std; #define REP(i,n) for(int i=0; i<(int)(n); i++) int main() { ios_base::sync_with_stdio(0); cin.tie(0); string s; cin >> s; int n = 0; for (char c: s) { n = 4 * n + c - '0'; n %= 15; } if (n == 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; }