n = int(input())
lst = [int(i) for i in input().split()]

cnt1 = 0
cnt2 = 0

for i in range(n):
    if lst[i] % 2 != 0:
        cnt1 += 1
    elif lst[i] % 4 == 0:
        cnt2 += 1

flg = True
if cnt1 >= 3:
    flg = False
else:
    if(n==3 and cnt1==2 and cnt2==1):
        pass
    elif cnt2 < cnt1:
        flg = False
if flg:
    print('Yes')
else:
    print('No')