N = int(input())
a = []

tmp = input().split(" ")

four = 0
other = 0
two = 0
All = 0
for n in range(N):
    A = int(tmp[n])
    All += 1
    if A%4 == 0:
        four+=1
    else:
        other+=1

    if A%2 == 0:
        two += 1

four += two//2

if four - other >= -1:
    print("Yes")
else:
    print("No")

