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

zyoken = int(N/2.0)
n4 = len(list(filter(lambda x:x%4 == 0 , a)))
num_2 = a.count(2)

if sum(a) == 2 * N:
    print("Yes")

elif n4 == 0:
    print("No")
    
elif (n4 + int(num_2/2.0)) >= zyoken:
    print("Yes")
else:
    print(("No"))