#include using namespace std; bool is_multiple(const int m, const string & S){ int r = 0; for (char c : S){ int v = c - '0'; r = (r * 4 + v) % m; } return (r == 0); } int main(){ ios::sync_with_stdio(false); cin.tie(0); string S; cin >> S; bool three = is_multiple(3, S); bool five = is_multiple(5, S); if (three and five){ cout << "FizzBuzz" << endl; }else if (three){ cout << "Fizz" << endl; }else if (five){ cout << "Buzz" << endl; }else{ cout << S << endl; } return 0; }