N = int(input())
A = [int(x) for x in input().split()]
numof4 = 0
numof2 = 0
numofodd = 0
for i in range(N):
    if A[i] % 4 == 0:
        numof4 += 1
    elif A[i] % 2 == 0:
        numof2 += 1
    else:
        numofodd += 1
if numof4 >= numofodd:
    print("Yes")

elif numof4 > 0 and numof4 >= numofodd - 1 and (numof2 == 0 or numof2 > 1):
    print("Yes")

else:
    print("No")
