import qualified Data.Text as T
import qualified Data.Text.IO as T
import qualified Data.Text.Read as T
import Data.Bool (bool)

main :: IO ()
main = do
  [x, y] <- map unsafeTextToInt . T.words <$> T.getLine :: IO [Int]
  putStrLn . bool "No" "Yes" $ even y && 2 * x <= y && y <= 4 * x

unsafeTextToInt :: T.Text -> Int
unsafeTextToInt s = case T.signed T.decimal s of
  Right (n, _) -> n
{-# INLINE unsafeTextToInt #-}
