n=int(input())
a=list(map(int,input().split()))
o=0
e=0
ee=0
for i in range(n):
    if a[i]%4==0:
        ee+=1
    elif a[i]%2==1:
        o+=1
    else:
        e+=1
if e%2==1:
    o+=1
if ee+1>=o:
    print("Yes")
else:
    print("No")