n = int(input())
a = list(map(int, input().split()))
f = 0
t = 0
k = 0
for i in a:
    if i % 4 == 0:
        f += 1
    elif i % 2 == 0:
        t += 1
    else:
        k += 1


if t > 0:
    if f >= k:
        print("Yes")
    else:
        print("No")
else:
    if f >= k + 1:
        print("Yes")
    else:
        print("No")
