from math import ceil
N=int(input())
a=list(map(int,input().split()))
c=0
e=0
d=0
for i in range(N):
    if a[i]%4==0:
        c=c+1
    if a[i]%2==1:
        e=e+1
    else:
        d=d+1
if c>0:
    if ((3*c+(d-c)-1)>=N)or(3*c==N):
        print("Yes")
    else:
        print("No")
else:   #c=0
    if (d==N):
        print("Yes")
    else:
        print("No")
"""
if (e<=2*c-1)or(d==N):
    print("Yes")
elif ((N/3)==c)and((2*N/3)==e): #e>=2*c
    print("Yes")
else:
    print("No")
"""

