N = int(input())
A = list(map(int,input().split()))
cn4 = 0
cn2 = 0

for a in A:
    if a % 4 == 0:
        cn4 += 1
    elif a % 2 == 0:
        cn2 += 1

if N - (cn4*2+1)  <= cn2:
    print("Yes")
else:
    print("No")
