N = int(input())
A = list(map(int, input().split()))
four, odd = 0, 0
for a in A:
    if a%4 == 0:
        four += 1
    elif a%2 == 1:
        odd += 1
result = 'No' if odd > four else 'Yes'
print(result)