def f(S, M): tmp = 0 for i in range(len(S)): tmp = (tmp * 4 + int(S[i])) % M return tmp % M == 0 N = input().rstrip() ans = "" if f(N, 3): ans += "Fizz" if f(N, 5): ans += "Buzz" if ans == "": print(N) else: print(ans)