N = int(input())
nums = [int(x) for x in input().split()]

# 数列が全部2nなら例外的にOK
if set([num % 2 for num in nums]) == {0}:
    print("Yes")
    exit(0)


a,b,c = 0,0,0
for elem in nums:
    if elem % 4 == 0 : a += 1  # 4の倍数
    else:
        b += 1  # 4の倍数じゃない

# あとづけ 
# Nが偶数なら2の倍数についても考える必要がある
c = 0
if N % 2 == 0:
    for elem in nums:
        if elem % 2 == 0 and elem % 4 != 0: c += 1



if N % 2 == 1:  # ぐ
    if b <= (N+1)/2 : print("Yes")
    else: print("No")
else:  # き
    if b-c <= a : print("Yes")
    else: print("No")
