program b170

implicit none
integer :: x, y

read *, x, y

if (mod(y,2) == 1) then
 print *, 'No'
else if (y > x * 4) then
 print *, 'No'
else if (y < x * 2) then
 print *, 'No'
else
 print *, 'Yes'
end if

end program b170