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

mod2 = []
mod4 = []

for i in range(N):
    mod2.append(A[i]%2 == 1)
    mod4.append(A[i]%4 == 0)
    

not4but2 = 0
for m2, m4 in zip(mod2, mod4):
    if m2==False and m4==False:
        not4but2 += 1
        
new_N = N - not4but2//2
odd = sum(mod2) + not4but2%2
even = new_N - odd


if new_N%2 == 0:
    if odd > (new_N/2):
        print("No")
    else:
        print("Yes")
        
else:
    if odd > (new_N+1)/2:
        print("No")
    else:
        print("Yes")