N = input() M = 0 for i in range(len(N)): M += 4**i * int(N[~i]) if M % 3 == 0 and M % 5 == 0: print('FizzBuzz') elif M % 3 == 0: print('Fizz') elif M % 5 == 0: print('Buzz') else: print(N)