N = int(raw_input())
a = map(int,raw_input().split(" "))
b = [0,0,0]

for aa in a:
	if aa % 4 == 0:
		b[2] += 1
	elif aa % 2 == 0:
		b[1] += 1
	else:
		b[0] += 1

if (b[1] == 0 and b[2] + 1 >= b[0]) or (b[1] != 0 and b[2] >= b[0]):
	print "Yes"
else:
	print "No"
