n=input()
l=map(int,raw_input().split())
f=0
t=0
o=0
for i in l:
    if i%4==1 or i%4==3:
        o+=1
    elif i%4==2:
        t+=1
    else:
        f+=1
if t==0:
    if f>=n/2:
        ans="Yes"
    else:
        ans="No"
else:
    if o<=f:
        ans="Yes"
    else:
        ans="No"
print ans
