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

t=0
f=0

for i in a:
    if i%4==0:
        f+=1
    elif i%2==0:
        t+=1

if t==0:
    t=1
if n-t+1<=2*f+1:
    print("Yes")
else:
    print("No")


