import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def main():
    n=int(input())
    aa=LI()
    c4=c2=0
    for a in aa:
        if a%4==0:
            c4+=1
        elif a%2==0:
            c2+=1
    if n<=c4*3+(c2>1)*c2:
        print("Yes")
    else:
        print("No")

main()