N = int(input())
a = [int(i) for i in input().split()]
c = 0
c2 = 0
for n in a:
    if n % 4 == 0:
        c += 1
    elif n % 4 == 2:
        c2 += 1
ans = 'No'
if c >= N//2:
    ans = 'Yes'
if N-c*2 <= c2:
    ans = 'Yes'
print(ans)
