import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x;
        int i = 0;
        while ((x = scanner.nextInt()) != 0) {
            System.out.println("Case "+(++i)+": "+x);
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x;
        int i = 0;
        while ((x = scanner.nextInt()) != 0) {
            System.out.println("Case "+(++i)+": "+x);
        }
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x;
        int i = 0;
        while ((x = scanner.nextInt()) != 0) {
            System.out.println("Case "+(++i)+": "+x);
        }
    } main {
        Scanner scanner = new Scanner(System.in);
        int x;
        int i = 0;
        while ((x = scanner.nextInt()) != 0) {
            System.out.println("Case "+(++i)+": "+x);
        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x; x int i = 0; i 0 while ((x = scanner.nextInt()) != 0) {
            System.out.println("Case "+(++i)+": "+x);
        } (x = scanner.nextInt()) != 0 (x = scanner.nextInt()) x scanner.nextInt() scanner.nextInt scanner 0 {
            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) i ": " x String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x;
        int i = 0;
        while ((x = scanner.nextInt()) != 0) {
            System.out.println("Case "+(++i)+": "+x);
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x;
        int i = 0;
        while ((x = scanner.nextInt()) != 0) {
            System.out.println("Case "+(++i)+": "+x);
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x;
        int i = 0;
        while ((x = scanner.nextInt()) != 0) {
            System.out.println("Case "+(++i)+": "+x);
        }
    }
}
