n = int(input())
lis = list(map(int,input().split()))
cnt = 0
two = 0
for i in lis:
    if i % 4 == 0:
        cnt += 1
    elif i == 2:
        two += 1

if n//2 <= cnt:
    print("Yes")
elif two >= 2 and (n-(two-1))//2 <= cnt:
    print("Yes")
else:
    print("No")