// Cheese-Cracker: cheese-cracker.github.io

void solve(){
    long l = scan; long r = scan; long k = scan;
    long len = r - l + 1;
    if(len == 1){
        writeln( (l == 1) ? "NO" : "YES");
        return;
    }

    long tim = len / 2;
    if(r % 2 == 1 && l % 2 == 1){ tim += 1; }
    writeln( (k >= tim) ? "YES" : "NO");
}

void main(){
    long tests = scan;        // Toggle!
    while(tests--) solve;
}

/**************    *****    That's All Folks!    *****    **************/
import std.stdio, std.range, std.conv, std.typecons, std.algorithm, std.container, std.math, std.numeric;
string[] tk; T scan(T=long)(){while(!tk.length)tk = readln.split; string a=tk.front; tk.popFront; return a.to!T;}
T[] scanArray(T=long)(){ auto r = readln.split.to!(T[]); return r; }
void show(A...)(A a){ debug{ foreach(t; a){stderr.write(t, "| ");} stderr.writeln; } }
alias ll = long, tup = Tuple!(long, "x",  long, "y");
