function Main(input){
  input = input.split("\n");
  var N = Number(input[0]);
  for(var i=1;i<=N;i++){
  	tmp = input[i].split(" ");
    tmp = tmp.map((a)=>Number(a));
    if(tmp[0]<(tmp[1]+tmp[2])){
      console.log('No');
      break;
    }
    if(tmp[0]%(tmp[1]+tmp[2])!=0){
      console.log(tmp[0],tmp[1],tmp[2]);
      console.log('No');
      break;
    }
    if(i==N){
      console.log('Yes');
    }
  }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));