import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int dataSet;
		for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		}
		br.close();
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int dataSet;
		for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		}
		br.close();
	}
} Main public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int dataSet;
		for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		}
		br.close();
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int dataSet;
		for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		}
		br.close();
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int dataSet; dataSet for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		} int i = 0; int i = 0; i 0 (dataSet = Integer.parseInt(br.readLine())) != 0 (dataSet = Integer.parseInt(br.readLine())) dataSet Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br 0 i++ i++ i {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		} {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		} System.out.println("Case " + (i + 1) + ": " + dataSet) System.out.println System.out System System.out "Case " + (i + 1) + ": " + dataSet ": " "Case " + (i + 1) + ": " + dataSet "Case " (i + 1) i 1 ": " dataSet br.close() br.close br String args[] args public class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int dataSet;
		for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		}
		br.close();
	}
} public class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int dataSet;
		for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		}
		br.close();
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int dataSet;
		for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {
			System.out.println("Case " + (i + 1) + ": " + dataSet);
		}
		br.close();
	}
}