from math import ceil
N=int(input())
a=list(map(int,input().split()))
c=0
e=0
for i in range(N):
    if a[i]%4==0:
        c=c+1
    if a[i]%2==1:
        e=e+1

if e<=2*c-1:
    print("Yes")
elif ((N/3)==c)and((2*N/3)==e): #e>=2*c
    print("Yes")
else:
    print("No")

