program main
	implicit none
	integer(8):: X,Y,A,B,C,N,i,j,t,k,D,E
	read *, X,Y
	
   	if(mod(Y,2)==1)then
   	print'(a)',"No"
   	stop
   	end if
   	if((2*X-Y/2)>=0.and.(Y/2-X)>=0)then
  	print'(a)',"Yes"
  	stop
  	else 
  	print'(a)',"No"
	stop
    end if
	
end program main