N = int(input())
A = list(map(int, input().split()))
ans = [0] * N
num_2 = 0
num_4 = 0
num = 0

for i in range(N):
    if A[i] % 4 == 0:
        num_4 += 1
    elif A[i] == 2:
        num_2 += 1
    else:
        num += 1

if num_2 % 2 != 0:
    ans = 'No'
elif num == N:
    ans = 'No'
else:
    ans = 'Yes'

print(ans)