#include<stdio.h>
int main()
{
int n;
long long a,b,c;
scanf("%d",&n);
for(int turn=1 ; turn<=n ; ++turn)
{
scanf("%lld%lld%lld",&a,&b,&c);
if(a+b>c)
printf("Case #%d: true
",turn);
else
printf("Case #%d: false
",turn);
}
return 0;
}