program main
	implicit none
	integer :: n,a=0,b=0
	integer(4) i,j(100000)
	read(*,*)n
	read(*,*)j(1:n)
	do i=1,n
		if(mod(j(i),4)==0)a=a+1
		if(mod(j(i),2)==1)b=b+1
	enddo
	a=a*1.5
	if(b>a)then
		write(*,'(a2)')"No"
	else
		write(*,'(a3)')"Yes"
	endif
end program main
