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

cnt4 = 0
cnt2 = 0
for i in a:
    if i % 4 == 0:
        cnt4 += 1
    elif i % 2 == 0:
        cnt2 += 1
cnt2 = min(cnt2, 4)

if cnt4 + cnt2//2 >= n//2:
    print('Yes')
else:
    print('No')