import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int get,num = 1;
    while ((get=sc.nextInt()) != 0){
      System.out.println("Case "+num+": "+get);
      num++;
    }
  }
}
 import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int get,num = 1;
    while ((get=sc.nextInt()) != 0){
      System.out.println("Case "+num+": "+get);
      num++;
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int get,num = 1;
    while ((get=sc.nextInt()) != 0){
      System.out.println("Case "+num+": "+get);
      num++;
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int get,num = 1;
    while ((get=sc.nextInt()) != 0){
      System.out.println("Case "+num+": "+get);
      num++;
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int get get num = 1; num 1 while ((get=sc.nextInt()) != 0){
      System.out.println("Case "+num+": "+get);
      num++;
    } (get=sc.nextInt()) != 0 (get=sc.nextInt()) get sc.nextInt() sc.nextInt sc 0 {
      System.out.println("Case "+num+": "+get);
      num++;
    } System.out.println("Case "+num+": "+get) System.out.println System.out System System.out "Case "+num+": "+get ": " "Case "+num+": "+get "Case " num ": " get num++ num String[] args args
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int get,num = 1;
    while ((get=sc.nextInt()) != 0){
      System.out.println("Case "+num+": "+get);
      num++;
    }
  }
}

