import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int input,i;
		
		i = 1;
		do{
			input = scan.nextInt();
			if(input > 0){
				System.out.println("Case "+i+": "+input);
			}
			i++;
		}while(input > 0);
		
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int input,i;
		
		i = 1;
		do{
			input = scan.nextInt();
			if(input > 0){
				System.out.println("Case "+i+": "+input);
			}
			i++;
		}while(input > 0);
		
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int input,i;
		
		i = 1;
		do{
			input = scan.nextInt();
			if(input > 0){
				System.out.println("Case "+i+": "+input);
			}
			i++;
		}while(input > 0);
		
	} main {
		Scanner scan = new Scanner(System.in);
		int input,i;
		
		i = 1;
		do{
			input = scan.nextInt();
			if(input > 0){
				System.out.println("Case "+i+": "+input);
			}
			i++;
		}while(input > 0);
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int input input i; i i = 1 i 1 do{
			input = scan.nextInt();
			if(input > 0){
				System.out.println("Case "+i+": "+input);
			}
			i++;
		}while(input > 0); input > 0 input 0 {
			input = scan.nextInt();
			if(input > 0){
				System.out.println("Case "+i+": "+input);
			}
			i++;
		} input = scan.nextInt() input scan.nextInt() scan.nextInt scan if(input > 0){
				System.out.println("Case "+i+": "+input);
			} input > 0 input 0 {
				System.out.println("Case "+i+": "+input);
			} System.out.println("Case "+i+": "+input) System.out.println System.out System System.out "Case "+i+": "+input ": " "Case "+i+": "+input "Case " i ": " input i++ i String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int input,i;
		
		i = 1;
		do{
			input = scan.nextInt();
			if(input > 0){
				System.out.println("Case "+i+": "+input);
			}
			i++;
		}while(input > 0);
		
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int input,i;
		
		i = 1;
		do{
			input = scan.nextInt();
			if(input > 0){
				System.out.println("Case "+i+": "+input);
			}
			i++;
		}while(input > 0);
		
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int input,i;
		
		i = 1;
		do{
			input = scan.nextInt();
			if(input > 0){
				System.out.println("Case "+i+": "+input);
			}
			i++;
		}while(input > 0);
		
	}

}