#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define REP(i,n) for(int i=0; i=b; --i) #define ALL(c) (c).begin(), (c).end() typedef long long ll; typedef vector VI; typedef vector VL; typedef vector VVL; typedef vector VVI; typedef pair P; typedef pair PL; int main() { string s; cin >> s; int three = 0, five = 0; REP(i,s.length()){ three = 4 * three + (s[i] - '0'); five = 4 * five + (s[i] - '0'); three %= 3; five %= 5; } if (!three && !five) cout << "FizzBuzz" << endl; else if (!three) cout << "Fizz" << endl; else if (!five) cout << "Buzz" << endl; else cout << s << endl; return 0; }