n = int(input())
x = [int(i) for i in input().split()]
a,b,c = 0,0,0
for i in x:
	if i%4==0: a += 1
	elif i%2==0: b += 1
	else: c += 1
if b != 0:
	if a>=c: print("Yes")
	else: print("No")
else:
	if a>=c-1: print("Yes")
	else: print("No")