N = int(input())
A = list(map(int,input().split()))
p, q, r = 0, 0, 0

for a in A:
    if a % 4 == 0:
        p += 1
    elif a % 4 == 2:
        q = 1
    else:
        r += 1

print("Yes" if q + r <= p + 1 else "No")