#include int main() { char s[2000006]; scanf("%s", s); int i, a, b; for (i = 0, a = 0; s[i] != '\0'; i++) a = (4 * a + s[i] - '0') % 3; for (i = 0, b = 0; s[i] != '\0'; i++) b = (4 * b + s[i] - '0') % 5; if (a == 0 && b == 0) printf("FizzBuzz\n"); else if (a == 0) printf("Fizz\n"); else if (b == 0) printf("Buzz\n"); else printf("%s\n", s); return 0; }