n=int(input())
a=list(map(int,input().split()))
j2,j4=0,0
for x in a:
    if x%4==0:
        j4+=1
    elif x%2==0:
        j2+=1
if n%2==0:
    print("Yes" if j2+2*j4>=n else "No")
else:
    print("Yes" if j2+2*j4>=n-1 else "No")