n = int(input())
a = list(map(int, input().split()))

c_4 = 0
c_2 = 0
odd = 0
for i in range(n):
    if a[i]%4==0:
        c_4+=1
    elif a[i]%2==1:
        odd += 1
    else:
        c_2 += 1
if odd <= c_4:
    print("Yes")
elif odd+1 == c_4 and c_2==0:
    print("Yes")
else:
    print("No")