import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner se=new Scanner(System.in);
int n=se.nextInt();
for (int i =0;i<n;i++) {
BigInteger a=se.nextBigInteger();
BigInteger b=se.nextBigInteger();
BigInteger c=se.nextBigInteger();
if(a.add(b).compareTo(c)>0) {
System.out.println(String.format("Case #%d: true", i+1));
}
else {
System.out.println(String.format("Case #%d: false", i+1));
}
}
}
}