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

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