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

fours = 0
twos = 0
for i in range(N):
    if A[i] % 2 == 0:
        if A[i] >= 4:
            fours += 1
        else:
            twos += 1

if N % 2 == 0:
    if fours + twos//2 >= N//2:
        print('Yes')
    else:
        print('No')
else:
    if fours + twos//3 >= N//2:
        print('Yes')
    else:
        print('No')