#include<iostream>
using namespace std;
int main(){
long n;
cin>>n;
long a,b,c;
int j=1;
for(int i=0;i<n;i++)
while(cin>>a>>b>>c){
if(a+b>c)
cout<<"Case #"<<j<<": "<<"true"<<endl;
else
cout<<"Case #"<<j<<": "<<"false"<<endl;
j++;
}
return 0;
}