import sys
input = sys.stdin.readline
n = int(input())
A = list(map(int, input().split()))
cou_4 = 0
cou_2 = 0

for i in range(n):
    a = A[i]
    if a % 4 == 0:
        cou_4 += 1
    elif a % 2 == 0:
        cou_2 += 1
        
if cou_2 == 0 and cou_4 > 0:
    cou_4 += 1
if n <= 2*cou_4 + cou_2:
    print("Yes")
else:
    print("No")