import java.util.Scanner;
 
public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        for(int i = 1;;i++){
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        }
        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        for(int i = 1;;i++){
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        }
        sc.close();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        for(int i = 1;;i++){
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        }
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        for(int i = 1;;i++){
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        }
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) for(int i = 1;;i++){
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        } int i = 1; int i = 1; i 1 i++ i++ i {
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        } {
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        } int num = Integer.parseInt(sc.nextLine()); num Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc if(num == 0) break;
            else System.out.println("Case " + i + ": " + num ); num == 0 num 0 break; System.out.println("Case " + i + ": " + num ) System.out.println System.out System System.out "Case " + i + ": " + num ": " "Case " + i + ": " + num "Case " i ": " num sc.close() sc.close sc String[] args args public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        for(int i = 1;;i++){
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        }
        sc.close();
    }
} public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        for(int i = 1;;i++){
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        }
        sc.close();
    }
} Main
import java.util.Scanner;
 
public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        for(int i = 1;;i++){
            int num = Integer.parseInt(sc.nextLine());
            if(num == 0) break;
            else System.out.println("Case " + i + ": " + num );
        }
        sc.close();
    }
}