n = int(input())
a = [int(i) for i in input().split()]
cnta = 0
cntb = 0

for i in range(n):
    if a[i]%4 == 0:
        cnta += 1
    elif a[i]%2 == 0:
        cntb += 1

if 2*cnta >= n or 2*cnta + cntb-1 >= n-1:
    ans = "Yes"
else:
    ans = "No"

print(ans)