import Control.Monad
import Data.Maybe
import qualified Data.ByteString.Char8 as BS
import Data.List

readInt = fst . fromJust . BS.readInt
readIntList = map readInt . BS.words
getInt = readInt <$> BS.getLine
getIntList = readIntList <$> BS.getLine

main = do
    [x,y] <- getIntList
    let b2 = y - 2 * x
    let a = x - b2 `div` 2
    putStrLn $ if b2 >= 0 && a >= 0 && b2 `mod` 2 == 0 then "Yes" else "No"
