function Main(input){
	input=input.trim().split("\n");
	let x;
	for (let i = 0; i < (input.length-1); i++){
		x = parseInt(input[i], 10);
		console.log("Case %d: %d", i+1, x);
	}
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
