from collections import Counter
N = int(input())
alist = list(map(int,input().split()))
blist = []
for a in alist:
    if a % 4 == 0:
        blist.append(2)
    elif a % 2 == 0:
        blist.append(1)
    else:
        blist.append(0)
cc  = Counter(blist)
dict1 = dict(cc.items())
zero , one , two = 0 , 0 , 0
if 0 in dict1.keys():
    zero = dict1[0]
if 1 in dict1.keys():
    one = dict1[1]
if 2 in dict1.keys():
    two = dict1[2]
def func(zero, one, two):
    if one == 0 :
        if (zero <= two *2):
            return True
        else:
            return False
    if (zero + 1 )  <= two * 2: 
        return True
    return False
print("Yes" if func(zero , one, two) else "No")