n = int(input())
a = map(int, input().split())
mod4 = 0
for i in a :
    if a % 4 == 0 :
        mod4 += 1
odd = 0
for i in a :
    if a % 2 == 1 :
        odd += 1
if mod4 >= odd :
    print("Yes")
else :
    print("No")