n=int(input())
a=list(map(int,input().split()))
b,c=[],[]
for i in range(n):
    if a[i]%4==0:
        b.append(1)
    elif a[i]%4!=0 and a[i]%2!=0:
        c.append(1)
b=sum(b)
c=sum(c)
if c<=b+1:
    print("Yes")
else:
    print("No")