n = int(input())
a = list(map(int,input().split()))
count4 = 0
count2 = 0
countelse = 0
for i in range(n):
	if a[i] % 4 == 0:
		count4 += 1
	if a[i] % 2 == 0:
		count2 += 1
	else:
		countelse += 1
count2 = count2 - count4
if count4 < (countelse - 1):
	print('No')
else:
	print('Yes')