#include using namespace std; int main() { string s; cin >> s; reverse(s.begin(), s.end()); int n = 0, p = 1; for (auto &c : s) { n += (c - '0') * p; p *= 4; } if (n % 15 == 0) { cout << "FizzBuzz" << endl; } else if (n % 3 == 0) { cout << "Fizz" << endl; } else if (n % 5 == 0) { cout << "Buzz" << endl; } else { reverse(s.begin(), s.end()); cout << s << endl; } return 0; }