n = int(input())
a = list(map(int, input().split()))
cnt = 0
val = 0
for i in a:
    if i % 4 == 0:
        cnt += 1
    elif i % 2 == 0:
        val += 1
if (cnt + val//2) >= n // 2:
    print('Yes')
else:
    print('No')