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

four=0
two=0
for i in range(n):
    if a[i]%4==0:
        four+=1
    elif a[i]%2==0:
        two+=1
two-=two%2
ans=four*3+two

if ans>=n:
    print("Yes")
else:
    print("No")