print((function (f, s) return f(s) end)(function (s) function mod15() local band, lshift = bit.band, bit.lshift local r, i = 0, #s for e in s:gmatch(".") do 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")))