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

p = []
r = []

for i in range(n):
    if a[i] % 4 == 0:
        p.append(a[i])
    elif a[i] % 2:
        r.append(a[i])

s = len(p)
u = len(r)

if u - 1<= s:
    print("Yes")
else:
    print("No")
