defmodule Main do
  def main do
    [x,y]=IO.gets("") |> String.trim |> String.split(" ") |>Enum.map(fn x->String.to_integer(x)end)
    0..x
    |>Enum.map(fn z-> Integer.mod(y-2*(x-z), 4)==0 && div(y-2*(x-z), 4)==z end)
    |>Enum.any?(fn x-> x==true end)
    |>(fn x -> if x==true do
      IO.puts("Yes")
    else
      IO.puts("No")
    end
    end).()
  end
end
