local read = io.read

local n = read("n")

local n_minus = n
local two_times_count = 0
for i = 1, n do
	local a_i = read("n")
	if a_i % 4 == 0 then
		n_minus = n_minus - 3
	elseif a_i % 2 == 0 then
		two_times_count = two_times_count + 1
	end
end

if two_times_count == 0 then
elseif two_times_count % 2 == 0 then
	n_minus = n_minus - two_times_count
elseif two_times_count % 2 == 1 then
	n_minus = n_minus - (two_times_count - 1)
end

print((n_minus <= 0) and "Yes" or "No")
