n = input() _n = int(n, 4) fizz = _n % 3 == 0 buzz = _n % 5 == 0 if fizz and buzz: print('FizzBuzz') elif fizz: print('Fizz') elif buzz: print('Buzz') else: print(n)