N = int(input())
l = list(map(int,input().split()))
 
num_odd = 0
num_even = 0
num_four = 0
 
for i in l:
    if i % 4 == 0:
        num_four += 1
    elif i % 2 == 0:
        num_even += 1
    else:
        num_odd += 1
if num_four <= num_odd + 1:
    ans = "No"
else:
    ans = "Yes"
print(ans)