N = int(raw_input().rstrip())
a = map(int, raw_input().rstrip().split())
c = [0,0,0]
for i in range(N):
    if a[i] % 4 == 0:
        c[2] += 1
    elif a[i] % 2 == 0:
        c[1] += 1
    else:
        c[0] += 1
if c[1] > 0:
    print 'Yes' if c[2] >= c[0] else 'No'
else:
    print 'Yes' if c[2] >= c[0] - 1 else 'No'