import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int t = Integer.parseInt(br.readLine()); PrintWriter pw = new PrintWriter(System.out); for (int z = 0; z < t; z++) { String[] sa = br.readLine().split(" "); long n = Long.parseLong(sa[0]); long a = Long.parseLong(sa[1]); long b = Long.parseLong(sa[2]); if ((a * 2 <= n || b * 2 <= n) && gcd(a, b) == 1) { pw.println("YES"); } else { pw.println("NO"); } } pw.flush(); br.close(); } static long gcd(long a, long b) { return b == 0 ? a : gcd(b, a % b); } }