import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int length = Integer.parseInt(br.readLine());
StringTokenizer st = null;
for(int i = 0; i < length; i++) {
st = new StringTokenizer(br.readLine());
int first = Integer.parseInt(st.nextToken());
int second = Integer.parseInt(st.nextToken());
System.out.println("Case #" + (i + 1) + ": " + (first + second));
}
}
}
1022
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Test11022 {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int length = Integer.parseInt(br.readLine());
StringTokenizer st;
for(int i = 1; i < length + 1; i++) {
st = new StringTokenizer(br.readLine());
int first = Integer.parseInt(st.nextToken());
int second = Integer.parseInt(st.nextToken());
System.out.println("Case #" + i + ": " + first + " + " + second + " = " + (first + second));
}
}
}
2438
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Test2438 {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int length = Integer.parseInt(br.readLine());
String star = "*";
StringBuilder sb = new StringBuilder();
sb.append(star);
for(int i = 0; i < length; i++) {
System.out.println(sb);
sb.append(star);
}
}
}