program answer
  implicit none

  integer :: x, y, i

  read(*,*) x, y

  do i = 1, x
     if(4*x-2*i==y) then
        write(*,*) 'Yes'
        stop
     end if
  end do

  write(*,*) 'No'

  stop
 end program answer