import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    int in_num = 1;
    int scan_num = 0;

    while(true) {
      scan_num = stdIn.nextInt();
      if (scan_num == 0) {
        break;
      }
      System.out.println("Case "+ in_num + ": " + scan_num);
      in_num++;
    }
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    int in_num = 1;
    int scan_num = 0;

    while(true) {
      scan_num = stdIn.nextInt();
      if (scan_num == 0) {
        break;
      }
      System.out.println("Case "+ in_num + ": " + scan_num);
      in_num++;
    }
  }
} Main public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    int in_num = 1;
    int scan_num = 0;

    while(true) {
      scan_num = stdIn.nextInt();
      if (scan_num == 0) {
        break;
      }
      System.out.println("Case "+ in_num + ": " + scan_num);
      in_num++;
    }
  } main {
    Scanner stdIn = new Scanner(System.in);
    int in_num = 1;
    int scan_num = 0;

    while(true) {
      scan_num = stdIn.nextInt();
      if (scan_num == 0) {
        break;
      }
      System.out.println("Case "+ in_num + ": " + scan_num);
      in_num++;
    }
  } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int in_num = 1; in_num 1 int scan_num = 0; scan_num 0 while(true) {
      scan_num = stdIn.nextInt();
      if (scan_num == 0) {
        break;
      }
      System.out.println("Case "+ in_num + ": " + scan_num);
      in_num++;
    } true {
      scan_num = stdIn.nextInt();
      if (scan_num == 0) {
        break;
      }
      System.out.println("Case "+ in_num + ": " + scan_num);
      in_num++;
    } scan_num = stdIn.nextInt() scan_num stdIn.nextInt() stdIn.nextInt stdIn if (scan_num == 0) {
        break;
      } scan_num == 0 scan_num 0 {
        break;
      } break; System.out.println("Case "+ in_num + ": " + scan_num) System.out.println System.out System System.out "Case "+ in_num + ": " + scan_num ": " "Case "+ in_num + ": " + scan_num "Case " in_num ": " scan_num in_num++ in_num String[] args args public class Main {
  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    int in_num = 1;
    int scan_num = 0;

    while(true) {
      scan_num = stdIn.nextInt();
      if (scan_num == 0) {
        break;
      }
      System.out.println("Case "+ in_num + ": " + scan_num);
      in_num++;
    }
  }
} public class Main {
  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    int in_num = 1;
    int scan_num = 0;

    while(true) {
      scan_num = stdIn.nextInt();
      if (scan_num == 0) {
        break;
      }
      System.out.println("Case "+ in_num + ": " + scan_num);
      in_num++;
    }
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    int in_num = 1;
    int scan_num = 0;

    while(true) {
      scan_num = stdIn.nextInt();
      if (scan_num == 0) {
        break;
      }
      System.out.println("Case "+ in_num + ": " + scan_num);
      in_num++;
    }
  }
}