N =input()
a =input().split()
b,c,d =0,0,0
for i in range(0,int(N)-1):
    hoge = int(a[i])%2
    if hoge ==0:
        b =b+1
for i in range(0,int(N)-1):
    hoge = int(a[i])%4
    if hoge ==0:
        c =c+1
d = b-c
if d ==0:
    if c-(int(N)-b)+1>=0:
        print('Yes')
    else:
        print('No')
else:
    if c-(int(N)-b)>=0:
        print('Yes')
    else:
        print('No')
