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

n2, n4 = 0, 0
for a in A:
    if a % 4 == 0:
        n4 += 1
    elif a % 2 == 0:
        n2 += 1

if n2 != 0:
    n -= (n2-1)
print('Yes' if n4 >= n//2 else 'No')
