defmodule Main do
  require Integer

  def main do
    [x, y] = IO.gets("") |> String.trim() |> String.split() |> Enum.map(&String.to_integer/1)

    case Integer.is_even(y) do
      false ->
        "No"

      true ->
        case x * 4 < y do
          true ->
            "No"

          false ->
            case x * 2 > y do
              true ->
                "No"

              false ->
                "Yes"
            end
        end
    end
    |> IO.puts()
  end
end