program abc169
implicit none
integer :: x , y , i , z
read *, x , y

i = 0
z = 4 * x - 2 * i

do i = 0 , x
  if(z == y)then
    goto 10
  end if
  z = 4 * x - 2 * i
10 end do

if(z == y)then
  print *,'Yes'
else
  print *,'No'
end if

end program abc169