N = int(input())
n = list(map(int, input().split()))

n2 = 0
n4 = 0
nod = 0

for i in n:
    if i % 4 == 0:
        n4 += 1
    elif i % 2 == 0:
        n2 +=1
    else:
        nod += 1

if n2 == 0:
    print('Yes')
else:
    if nod <= n4:
        print('Yes')
    else:
        print('No')