import sys
import itertools
sys.setrecursionlimit(1000000000)
from heapq import heapify,heappop,heappush,heappushpop
import math
import collections


n = int(input())
a = list(map(int,input().split()))
li = []
li2 = []
li4 = []
for i in range(n):
    if a[i]%4 == 0:
        li4.append(a[i])
    elif a[i]%2 == 0:
        li2.append(a[i])
    else:
        li.append(a[i])
if len(li) < len(li4)+1:
    print("Yes")
else:
    print("No")