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