n = input() x = int(n, 4) s = '' if x % 3 == 0: s += 'Fizz' if x % 5 == 0: s += 'Buzz' if s != '': print(s) else: print(n)