object Main extends App {
  val n = io.StdIn.readLine.toInt
  val ans = Iterator.continually(io.StdIn.readLine)
      .take(n)
      .map(_.split(" ").map(_.toInt))
      .map(in => {
        val Array(t, x, y) = in
        if (x + y > t) "No"
        else if (((t % (x + y)) & 1) == 1) "No"
        else "Yes"
      })
      .toArray

  println(if (ans.contains("No")) "No" else "Yes")
}