N = int(input())
A = list(map(int,input().split()))
two = 0
one = 0
zero = 0
for i in range(N):
    if A[i]%4==0:
        two += 1
    elif A[i]%2==0:
        one += 1
    else:
        zero += 1


if zero-1<=two and one%2==0:
    print('Yes')
elif two*2>=N-1:
    print('Yes')
else:
    print('No')
