N=int(input())
a=list(map(int,input().split()))
odd=0
m2=0
m4=0
for n in a:
    if n%2==1:
        odd+=1
    elif n%4!=0:
        m2+=1
    else:
        m4+=1
if m4>=odd or (m2==0 and m4>=odd-1):
    print('Yes')
else:
    print('No')
