import java.util.Scanner;

public class Main{
 public static void main(String[] args){
 Scanner sc = new Scanner(System.in);
 for(int i=1;;i++){
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
}
}
} import java.util.Scanner; Scanner java.util public class Main{
 public static void main(String[] args){
 Scanner sc = new Scanner(System.in);
 for(int i=1;;i++){
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
}
}
} Main public static void main(String[] args){
 Scanner sc = new Scanner(System.in);
 for(int i=1;;i++){
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
}
} main {
 Scanner sc = new Scanner(System.in);
 for(int i=1;;i++){
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
}
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) for(int i=1;;i++){
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
} int i=1; int i=1; i 1 i++ i++ i {
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
} {
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
} int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc if(x==0){
 break;
} x==0 x 0 {
 break;
} break; System.out.printf("Case %d: %d\n",i,x) System.out.printf System.out System System.out "Case %d: %d\n" i x String[] args args public class Main{
 public static void main(String[] args){
 Scanner sc = new Scanner(System.in);
 for(int i=1;;i++){
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
}
}
} public class Main{
 public static void main(String[] args){
 Scanner sc = new Scanner(System.in);
 for(int i=1;;i++){
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
}
}
} Main
import java.util.Scanner;

public class Main{
 public static void main(String[] args){
 Scanner sc = new Scanner(System.in);
 for(int i=1;;i++){
 int x = sc.nextInt();
 if(x==0){
 break;
}
 System.out.printf("Case %d: %d\n",i,x);
}
}
}