"use strict";
function main(input) {
  const args = input.trim().split("\n");
  const N = parseInt(args[0], 10);
  const nums = args.slice(1, N + 1);
  const isValid = nums.every((n) => {
    var ns = n.trim().split(" ");
    var t = parseInt(ns[0], 10),
      x = parseInt(ns[1], 10),
      y = parseInt(ns[2], 10);
    var sum = x + y;

    return t >= sum && t % 2 == sum % 2;
  });

  if (isValid) {
    console.log("Yes");
  } else {
    console.log("No");
  }
}
main(require("fs").readFileSync("/dev/stdin", "utf-8"));
