N = int(input())
A = list(map(int,input().split()))
dic = {2:0,4:0}
for a in A:
    if a % 4 == 0: dic[4] += 1
    elif a % 2 == 0: dic[2] += 1
      
if dic[2] == 1: dic[2] = 0
if dic[4]*2 + 1 + dic[2] >= N: print('Yes')
else: print('No')