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

f = 0
t = 0

for i in a:
    if i % 4 == 0: f += 1
    elif i % 2 == 0: t += 1    

h = t // 2
s = ((N - h * 2) // 2)
s2 = N

if s <= f or s2 <= t:
    print('Yes')
else:
    print('No')