N = input() num = 0 for i, n in enumerate(N): num += int(n) * 4 ** i if num % 15 == 0: print('FizzBuzz') elif num % 3 == 0: print('Fizz') elif num % 5 == 0: print('Buzz') else: print(N)