N=int(input())
a=[int(i) for i in input (). split ()]
M=0
M1=0
for i in range (N):
    if a[i]%2==0:
        M+=1
        a[i]//=2
        if a[i]%2==0:
            M1+=1
if M1%2==1:
    M1+=1
M1//=2
M+=M1
if M>=N:
    p="Yes"
else:
    p="No"
print (p)