package com.hym.PAT_B;
import java.util.Scanner;
/**
* Created by ymhou on 2016/11/21.
* 通过全部测试点,答案正确
*/
public class PAT_B_1011 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int T = scanner.nextInt();
long num[][] = new long[T][3];
for(int i=0; i<T; i++){
for(int j=0; j<3; j++){
num[i][j] = scanner.nextInt();
}
}
for(int i=0; i<T; i++){
int n = i+1;
if(num[i][0]+num[i][1] > num[i][2]){
System.out.println("Case #"+n+": true");
}
else {
System.out.println("Case #"+n+": false");
}
}
}
}
网友评论