import java.util.Scanner;

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

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