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

cnt1 = 0
cnt2 = 0
cnt4 = 0

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

if cnt2==0:
    if cnt4+1>=cnt1:
        print("Yes")
    else:
        print("No")
else:
    if cnt4>=cnt1:
        print("Yes")
    else:
        print("No")
