n, *a = map(int, open(0).read().split())
f = 0
t = 0
for i in a:
    if i % 4 == 0:
        f += 1
    elif i % 2 == 0:
        t += 1
if len(a) == 1 and f == 0:
    print("No")
    quit()
if 2*f + t >= len(a):
    print('Yes')
    quit()
elif 2*f + t + 1 == len(a) and f != 0:
    print('Yes')
else:
    print('No')
