N = int(input()) n10 = 0 L = list(str(N)) for i in range(len(L)): n10 += int(L[-(i+1)])*(4**i) if n10 % 3 == 0 and n10 % 5 == 0: print("FizzBuzz") elif n10 % 3 == 0: print("Fizz") elif n10 % 5 == 0: print("Buzz") else: print(N)