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

a1 = []
a2 = []
a4 = []

for i in A:
    if i // 2 == 0 or i % 2 == 1:
        a1.append(i)
    elif i // 2 == 1 and i % 2 == 0:
        a2.append(i)
    else:
        a4.append(i)

b1 = len(a1)
b2 = len(a2)
b4 = len(a4)

if a2 == []:
    if b1 <= b4 + 1:
        print("Yes")
    else:
        print("No")

else:
    if b1 <= b4:
        print("Yes")
    else:
        print("No")




