import collections
n=int(input())
a=[int(i) for i in input().split()]
c=collections.Counter(a)
count=0
for num,x in c.items():
    if(num==2):
        count+=x//2
    elif(num%4==0):
        count+=x

if(count>=len(a)//2):
    print('Yes')
    exit()
else:
    print('No')
    exit()


