program main
	implicit none
    integer::i,j,a,b
    read(*,*)a,b
    do i=1,a
    	if(2*i+4*(a-i)==b)then
        	write(*,*)'Yes'
            stop
        end if
    end do
    write(*,*)'No'
    stop
end program main