fizzbuzz = { (True, True): 'FizzBuzz', (True, False): 'Fizz', (False, True): 'Buzz' } n = int(input()) _n = int(str(n), base=4) print(fizzbuzz.get((_n % 3 == 0, _n % 5 == 0), n))