s = input() s1 = [ int(v) for v in list(s) ] s2 = sum(s1[::2]) - sum(s1[1::2]) ans = "" if sum(s1) % 3 == 0: ans += "Fizz" if s2 == 0: ans += "Buzz" if ans == "": print(s) else: print(ans)