program sample
	implicit none
    integer(8) :: X,Y
    real(8) :: a,b
    
    read(*,*) X,Y
    
    a=real(X,8)
    b=real(Y,8)
    
    if (Y/2 == b/2) then
    	if (X*2 <= Y .and. Y <= X*4) then
        	write(*,*) 'Yes'
        else
        	write(*,*) 'No'
        end if
    else
    	write(*,*) 'No'
	end if
    stop
end program sample