program main
  implicit none
  integer i, X, Y, ans
  read(*, *)X, Y
  ans = 1
  if (Y < 2*X) then
    ans = 0
  elseif (Y > 4*X) then
    ans = 0
  elseif (mod(Y,2) == 1) then
    ans = 0
  endif
  if (ans == 0) then
    write(*, *) 'No'
  else
    write(*, *) 'Yes'
  endif

  
end program main
