from re import X def is_5_divisor_base_4(num_base4: str) -> bool: odd_sum = sum(map(int, list(num_base4)[::2])) even_sum = sum(map(int, list(num_base4)[1::2])) return (odd_sum - even_sum) % 5 == 0 def is_3_divisor_base_4(num_base4: str) -> bool: return sum(map(int, list(num_base4))) % 3 == 0 def main(): N = input() printed = False if is_3_divisor_base_4(N): print("Fizz", end="") printed = True if is_5_divisor_base_4(N): print("Buzz", end="") printed = True if not printed: print(N, end="") print() if __name__ == "__main__": main()