n = int(input())
a = list(map(int, input().split()))
b, c, d = 0, 0, 0
for i in a:
    if i % 4 == 0:
        b += 1
    elif i % 2 == 0:
        c += 1
    else:
        d += 1
if c == 1:
    d += 1
elif c >= 2:
    b += c // 2
if b + 1 >= d:
    print("Yes")
else:
    print("No") 