print((function (f, s) return f(s) end)(function (s) function mod15() local band, lshift = bit.band, bit.lshift local r, i = 0, #s s:gsub(".", function (e) e = tonumber(e) if band(i,1) == 0 then e = lshift(e,2) end r, i = r+e, i-1 end) return r%15 end local n = mod15() return n == 0 and "FizzBuzz" or n%3 == 0 and "Fizz" or n%5 == 0 and "Buzz" or s end, io.stdin:read("*l")))