s = io.read() n = string.len(s) a, b = 0, 0 for i = 1, n do c = tonumber(string.sub(s, i, i)) a = a + c if(i % 2 == 0) then b = b + c else b = b - c end end a, b = a % 3, b % 5 if(a ~= 0 and b ~= 0) then print(s) else if(a == 0) then io.write("Fizz") end if(b == 0) then io.write("Buzz") end io.write("\n") end