N = int(input())
a = list(map(int,input().split()))
count = 0
count2 = 0
for i in a:
    if i%4==0:
        count += 1
    elif i%2==0:
        count2 += 1

if count2 <= 1:
    count2 = 0

if count >= N//2-count2:
    print('Yes')
else:
    print('No')

2228187