import collections
def hoge():
    N=int(input())
    A=[2 if i%4==0 else 1 if i%2==0 else 0 for i in list(map(int,input().split()))]
    A=collections.Counter(A)
    value=A[2]*2+A[1]
    if A[2]:
        return(value>=N-1)
    else:
        return(value>=N)
print("Yes" if hoge() else "No")
