n=io.read("*n", "*l")
odd=0
four=0
for i=1, n do
    a=io.read("*n")
    if a%2==1 then
        odd=odd+1
    elseif a%4==0 then
        four=four+1
    end
end

if four==odd-1 and four+odd==n then
    print("Yes")
elseif four==odd then
    print("Yes")
else 
    print("No")
end