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

two = 0
four = 0

four = 0
two = 0
for i in A:
    if i%4 == 0:
        four += 3
    elif i%2 == 0:
        two += 1

if two//2 + four >= N:
    print("Yes")
else:
    print("No")