import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int a=1;

while(true){
String B=scan.next();
int b=Integer.parseInt(B);
if(b==0)
	break;
System.out.println("Case "+a+": "+b);
a=a+1;
}
}
} import java.util.Scanner; Scanner java.util class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int a=1;

while(true){
String B=scan.next();
int b=Integer.parseInt(B);
if(b==0)
	break;
System.out.println("Case "+a+": "+b);
a=a+1;
}
}
} Main public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int a=1;

while(true){
String B=scan.next();
int b=Integer.parseInt(B);
if(b==0)
	break;
System.out.println("Case "+a+": "+b);
a=a+1;
}
} main {
Scanner scan=new Scanner(System.in);
int a=1;

while(true){
String B=scan.next();
int b=Integer.parseInt(B);
if(b==0)
	break;
System.out.println("Case "+a+": "+b);
a=a+1;
}
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int a=1; a 1 while(true){
String B=scan.next();
int b=Integer.parseInt(B);
if(b==0)
	break;
System.out.println("Case "+a+": "+b);
a=a+1;
} true {
String B=scan.next();
int b=Integer.parseInt(B);
if(b==0)
	break;
System.out.println("Case "+a+": "+b);
a=a+1;
} String B=scan.next(); B scan.next() scan.next scan int b=Integer.parseInt(B); b Integer.parseInt(B) Integer.parseInt Integer B if(b==0)
	break; b==0 b 0 break; System.out.println("Case "+a+": "+b) System.out.println System.out System System.out "Case "+a+": "+b ": " "Case "+a+": "+b "Case " a ": " b a=a+1 a a+1 a 1 String[] args args
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int a=1;

while(true){
String B=scan.next();
int b=Integer.parseInt(B);
if(b==0)
	break;
System.out.println("Case "+a+": "+b);
a=a+1;
}
}
}