local read = io.read

local n = read("n")
local is_found_4_times = false
for i = 1, n do
	local a_i = read("n")
	if a_i % 4 ==0 then
		is_found_4_times = true
		break
	end
end

print(is_found_4_times and "Yes" or "No")
