#69 C

N = int(input())
a = list(map(int, input().split()))

nums = [0, 0, 0]

for tmp in a:
	if tmp%4 == 0:
		nums[0] += 1
	elif tmp%2 == 0:
		nums[1] += 1
	else:
		nums[2] += 1
		
if nums[0] >= nums[2]:
	print('Yes')
else:
	print('No')