import java.util.*; import java.math.*; public class Main { public static void main(String args[]) { Scanner cin=new Scanner(System.in); int t=cin.nextInt(); while(t!=0) {t--; BigInteger a,b,c,d,e,temp; a=cin.nextBigInteger(); b=cin.nextBigInteger(); c=cin.nextBigInteger(); d=cin.nextBigInteger(); e=new BigInteger("0"); if(a.equals(e)||b.equals(e)||c.equals(e)||d.equals(e)) { System.out.println("No"); continue; } temp=a.add(b); //a+b+c //a+b+d//b+c+d//a+c+d temp=temp.add(c); if(temp.max(d)==temp&&!temp.equals(d)) //a+b+c>d { temp=a.add(b); temp=temp.add(d); if(temp.max(c)==temp&&!temp.equals(c)) //a+b+d>c { temp=a.add(c); temp=temp.add(d); if(temp.max(b)==temp&&!temp.equals(b)) //a+c+d>b { temp=b.add(c); temp=temp.add(d); if(temp.max(a)==temp&&!temp.equals(a)) { System.out.println("Yes"); continue; } } } } System.out.println("No"); } } private static BigInteger BigInteger(String string) { // TODO Auto-generated method stub return null; } }