from sys import exit

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

m1 = 0
m2 = 0
m4 = 0

for a in A:
	if a%4==0:
		m4 += 1
	elif a%2==0:
		m2 += 1
	else:
		m1 += 1

if m1==m4==0:
	print('Yes')
	exit()

m1 = m1 + (m2>0)
if 2*m4>=m1:
	print('Yes')
else:
	print('No')