n = int(input())
a = list(map(int,input().split()))
count_2 = 0
count_4 = 0
for i in range(n):
    if a[i]%2==0:
        count_2 += 1
    if a[i]%4==0:
        count_4 += 1

isYes = False
if n//2<=count_4:
    isYes = True
else:
    tmp = n//2 - count_4
    if n%2==1:
        if tmp * 3 <= (count_2 - count_4):
            isYes = True
    else:
        if (tmp - 1) * 3 + 2 <= (count_2 - count_4):
            isYes = True

if isYes:
    print('Yes')
else:
    print('No')