program main
  implicit none

  integer :: x, y

  read(*,*) x, y

  if (mod(4*x-y,2)/=0 .or. mod(y-2*x,2)/=0 .or. y-2*x < 0 .or. 4*x-y < 0 ) then
     write(*,*) 'No'
  else
     write(*,*) 'Yes'
  end if

end program main

