S = input() four = 1 N = 0 for s in S[::-1]: N += four * int(s) four *= 4 if N % 15 == 0: print("FizzBuzz") elif N % 3 == 0: print("Fizz") elif N % 5 == 0: print("Buzz") else: print(S)