local read = io.read

local n = read("n")
local found_4_amount = 0
for i = 1, n do
	local a_i = read("n")
	if a_i % 4 ==0 then
		found_4_amount = found_4_amount + 1
	end
end

if found_4_amount == 0 then
	print("No")
else
	print(((n + found_4_amount - 1) // found_4_amount <= 3) and "Yes" or "No")
end
