'''input
6
2 7 1 8 2 8
'''
n = input()
a = map(int ,raw_input().split())
freq4 = 0
freq2 = 0
for i in a:
	if i%4 == 0:
		freq4 += 1
		continue
	if i%2 ==0 :
		freq2 += 1
if freq4 >= n//2 or freq4 + freq2//2 >= n//2:
	print "Yes"

else:
	print "No"