https://www.acmicpc.net/problem/11021
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main{
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(br.readLine());
StringTokenizer st;
for(int i =1; i<a+1; i++){
st = new StringTokenizer(br.readLine(), " ");
System.out.println("Case #" + i + ": "
+(Integer.parseInt(st.nextToken())
+ Integer.parseInt(st.nextToken()) ) );
}
br.close();
}
}