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