N = int(input())
R = [0 for i in range(2)]
st = input().split()
for i in range(N):
    k = int(st[i])
    m = 0
    if k % 4 == 1 or k % 4 == 3:
        m = 0
    elif k % 4 == 2:
        m = 1
    else:
        m = 2
    R[m] += 1
    

if R[1]+R[2]*2 < 2*(N-1):
    print("No")
else:
    print("Yes")
