n = int(input())
A = tuple(map(int, input().split()))
c4 = 0
c2 = 0
cn = 0
for a in A:
    if a%4==0:
        c4 += 1
    elif a%2==0:
        c2 += 1
    else:
        cn += 1

if (c4*2 + 1 if c4 > 0 else 0) + (c2 if c2 > 1 else 0) >= n:
    print('Yes')
else:
    print('No')