{-# LANGUAGE PartialTypeSignatures #-}
{-# LANGUAGE LambdaCase #-}
module Main (main) where

import qualified Data.ByteString.Char8 as C8

import qualified Data.Char as C
import qualified Data.List as L

main :: IO ()
main = readInts >>= output . solve

solve :: [Int] -> _
solve [x,y] = or $ zipWith (\k1 k2 -> (k1*2)+(k2*4)==y) [1..x] (reverse [1..x-1])

output :: _ -> IO ()
output = \case
  True  -> putStrLn "Yes"
  False -> putStrLn "No"

-- utils
readInts :: IO [Int]
readInts = L.unfoldr (C8.readInt . C8.dropWhile C.isSpace) <$> C8.getLine