import java.util.*;

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

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