n = input() ln = len(n) a = 0 b = 0 c = 0 ans = "" for i in range(0,ln): a += int(n[i]) if i % 2 == 0: b += int(n[i]) else: c += int(n[i]) if a % 3 == 0: ans += "Fizz" if (b - c) % 11 == 0: ans += "Buzz" if ans == "": ans = n print(ans)