n=int(raw_input())
a=map(int,raw_input().split())
m4=0
m2=0
for x in a :
    if x%4==0 :
        m4 += 1
    elif x%2==0 :
        m2 += 1

if m2<=1:
    if m4+1>=n-m4:
        print 'Yes'
    else:
        print 'No'
else :
    n -= m2
    if m4>=n-m4:
        print 'Yes'
    else:
        print 'No'