N = int(input())
A = [int(i) for i in input().split()]

count_odd = 0
count_4 = 0
for i in A:
    if i % 2 != 0:
        count_odd += 1
    if i % 4 == 0:
        count_4 += 1
        
if count_4 > count_odd -1:
    print('Yes')
else:
    print('No')