n,*l=map(int,open(0).read().split())
o=t=f=[]
for i in l:
	if i%4==0:
		f.append(i)
	elif i%2==0:
		t.append(i)
	else:
		o.append(i)
if len(t)==1:
	o+=t
if len(t)<=len(f)+1:
	print("Yes")
else:
	print("No")