n = int(input())
a_list = list(map(int,input().split()))
cntn = 0
cnt2 = 0
cnt4 = 0
for i in a_list:
    if i%4 == 0:
        cnt4 += 1
    elif i%2 == 0:
        cnt2 += 1
    else:
        cntn += 1
        
cnt4seat = cnt4*2
flag = True
cnt4seat -= cntn
if cnt2 == 1:
    cnt4seat -= 1
    
if cnt4seat >= 0:
    print('Yes')
    
else:
    print('No')