// ABC 085

// inputに入力データ全体が入る
function Main(input) {
  input = input.split("\n");
  const N = parseInt(input[0],10);
  const arr = input.slice(1,N+1);
  var flag = 0;
  arr.forEach(function(value,index) {
    var t = parseInt(value.split(" ")[0],10);
    var x = parseInt(value.split(" ")[1],10);
    var y = parseInt(value.split(" ")[2],10);
    var sum = x + y;
    if(t >= sum && sum % 2 == t % 2) {
      flag += 0;
    } else {
      flag += 1;
    }
  })
  if(flag == 0) {
    console.log("Yes")
  } else {
    console.log("No")
  }
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
