#include <stdio.h>
void res(double a , double b , double c);
int main()
{
double a, b, c;
int m,i,j,k;
scanf("%d",&m);
for(j=1; j<=m; ++j){
scanf("%lf%lf%lf",&a,&b,&c);
printf("Case #%d: ",j);
res(a,b,c);
// printf("%d",j);
}
return 0;
}
void res(double a , double b , double c)
{
if(a+b>c){
printf("true\n");
}
else if(a+b<=c){
printf("false\n");
}
}