# ABC086-C

awk '
BEGIN {
    t = 0; x = 0; y = 0; ans = 1;
}
{
    dt = $1 - t;
    dx = ($2 > x) ? $2 - x : x - $2;
    dy = ($3 > y) ? $3 - y : y - $3;
    if (dx + dy > dt || (dx + dy) % 2 != dt % 2) {
        ans = 0;
        exit;
    }
    t = $1; x = $2; y = $3;
}
END {
    print ans ? "Yes" : "No";
}
'
