# -*- coding: utf-8 -*-       

n = input()
a = map(int, raw_input().split())

m4 = 0
m2 = 0
k = n/2
flg = 1
for i in a:
    if(i%4 == 0):
        m4 += 1
    elif(i%2 == 0):
        m2 += 1
if(m4 >= k):
    print('Yes')
    flg = 0
else:
    if(n%2 == 0):
        if(m2 >= (k-m4)*2):
            print('Yes')
            flg = 0
    else:
        if(m2 >= (k-m4)*2+1):
            print('Yes')
            flg = 0
if(flg):
    print('No')
