N=int(input())
A=list(map(int,input().split()))
A0=0
A4=0
for i in range(N):
    if A[i]%2==1:
        A0+=1
    elif A[i]%4==0:
        A4+=1
if A4>=A0:
    print("Yes")
elif A4+1==A0 and A4+A0==N:
    print("Yes")
else:
    print("No")