n = int(input())
a_L = list(map(int,input().split()))

L = [0 for _ in range(n)]

one = 0
for i in range(n):
    if a_L[i]%4==0:
        L[i] = 1
        one += 1
ans = ""
if n%2 == 0:
    if n/2 <= one:
        ans = "Yes"
    else:
        ans = "No"
else:
    if int(n/2) <= one:
        ans = "Yes"
    else:
        ans = "No"

print(ans)