program abc170b
   implicit none
   integer :: x, y
   real(8) :: a, b, err=1d-3

   read(*,*) x, y

   a = dble(y)/2d0 - dble(x)
   b = dble(x) - a

   if (a >= 0d0 .and. b >=0d0) then
      if (a-int(a) <= err .and. b-int(b) <= err) then
         print *, "Yes"
      endif
   else
      print *, "No"
   endif
end program abc170b
