n = int(input())
a = list(map(int,input().split()))
count2 = 0
count4 = 0
for i in range(n):
    if a[i]%2 == 0 and a[i]%4 != 0:
        count2 += 1
    elif a[i]%4 == 0:
        count4 += 3
if count2 >= 2 and count2%2 == 0:
    count4 += count2//2*2
elif count2 >= 2 and count2%2 == 1:
    count4 += (count2//2)*2+1
if count4 >= n:
    print("Yes")
else:
    print("No")