import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    N=I()
    a=LI()
    tw=0
    fo=0
    for i in range(N):
        if a[i]%4==0:
            fo+=1
        elif a[i]%2==0:
            tw+=1
            
    N2=N-tw+1
    if N2//2<=fo:
        print("Yes")
    else:
        print("No")

main()
