import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String args[]) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int N = Integer.parseInt(br.readLine());
    boolean ok = true;
    for (int i = 0; i < N; ++i) {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    }
    
    if (ok) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io public class Main {
  public static void main(String args[]) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int N = Integer.parseInt(br.readLine());
    boolean ok = true;
    for (int i = 0; i < N; ++i) {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    }
    
    if (ok) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} Main public static void main(String args[]) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int N = Integer.parseInt(br.readLine());
    boolean ok = true;
    for (int i = 0; i < N; ++i) {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    }
    
    if (ok) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int N = Integer.parseInt(br.readLine());
    boolean ok = true;
    for (int i = 0; i < N; ++i) {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    }
    
    if (ok) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int N = Integer.parseInt(br.readLine()); N Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br boolean ok = true; ok true for (int i = 0; i < N; ++i) {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    } int i = 0; int i = 0; i 0 i < N i N ++i ++i i {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    } {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    } String[] vals = br.readLine().split(" "); vals br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int t = Integer.parseInt(vals[0]); t Integer.parseInt(vals[0]) Integer.parseInt Integer vals[0] vals 0 int x = Integer.parseInt(vals[1]); x Integer.parseInt(vals[1]) Integer.parseInt Integer vals[1] vals 1 int y = Integer.parseInt(vals[2]); y Integer.parseInt(vals[2]) Integer.parseInt Integer vals[2] vals 2 if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      } t < (x + y) || (t % 2 != (x+y) % 2) t < (x + y) t (x + y) x y (t % 2 != (x+y) % 2) t % 2 t 2 (x+y) % 2 (x+y) x y 2 {
        ok = false;
        break;
      } ok = false ok false break; if (ok) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    } ok {
      System.out.println("Yes");
    } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
      System.out.println("No");
    } System.out.println("No") System.out.println System.out System System.out "No" String args[] args public class Main {
  public static void main(String args[]) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int N = Integer.parseInt(br.readLine());
    boolean ok = true;
    for (int i = 0; i < N; ++i) {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    }
    
    if (ok) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} public class Main {
  public static void main(String args[]) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int N = Integer.parseInt(br.readLine());
    boolean ok = true;
    for (int i = 0; i < N; ++i) {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    }
    
    if (ok) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String args[]) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int N = Integer.parseInt(br.readLine());
    boolean ok = true;
    for (int i = 0; i < N; ++i) {
      String[] vals = br.readLine().split(" ");
      int t = Integer.parseInt(vals[0]);
      int x = Integer.parseInt(vals[1]);
      int y = Integer.parseInt(vals[2]);
      
      if (t < (x + y) || (t % 2 != (x+y) % 2)) {
        ok = false;
        break;
      }
    }
    
    if (ok) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}
