{-# LANGUAGE BangPatterns #-}

import Control.Monad

data State = State !Int !Int !Int deriving Show

step :: State -> State -> Maybe State
step (State t a b) next@(State t' a' b') =
    let
        dt = t' - t
        da = abs (a - a')
        db = abs (b - b')
        distance = da + db
        in
            if dt >= distance && even (distance - dt)
                then Just next
                else Nothing

main = do
    n <- readLn :: IO Int
    l <- replicateM n ((\[t, a, b] -> State t a b) . map read . words <$> getLine)
    putStrLn $ case foldM step (State 0 0 0) l of
        Just _  -> "Yes"
        Nothing -> "No"
    