N = input() S = list(map(int,list(N))) a = sum(S) ans = "" if a % 3 == 0: ans += 'Fizz' b = 0 for i in range(len(S)): j = S[-i-1] if i & 1 == 0: b += j else: b -= j if b % 5 == 0: ans += 'Buzz' if ans == "": print(N) else: print(ans)