parseInt(x) = parse(Int, x)
function main()
	n= parseInt(readline())
	a = map(parseInt, split(readline()))
	countt = 0
	countf = 0
	for i in 1:n
		if a[i]%4==0
			countf += 1
		elseif a[i]%2==0
			countt += 1
		end
	end
	if countf == 0
		if countt == n > 1
			print("Yes")
		else
			print("No")
		end
	elseif countt+(countf*2+1) >=n
		if countt == n-countf*2-1
			print("No")
		else
			print("Yes")
		end
	else
		print("No")
	end
end
main()