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

two = 0
four = 0
for i in a:
    if i % 2 == 0:
        two += 1
        if i % 4 == 0:
            four += 1

tmp = two - four if two - four > 1 else 0
print('Yes' if four * 2 + 1 + tmp >= n else 'No')
