import java.util.Scanner;

public class Main {

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

        }
    }
} import java.util.Scanner; Scanner java.util public class Main {

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

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

        }
    } main {
        Scanner scanner = new Scanner(System.in);
        int a = 0;
        while (true) {
            a++;
            int b = scanner.nextInt();
            if (b == 0) {
                break;
            }
            System.out.println("Case " + a + ": " + b);

        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = 0; a 0 while (true) {
            a++;
            int b = scanner.nextInt();
            if (b == 0) {
                break;
            }
            System.out.println("Case " + a + ": " + b);

        } true {
            a++;
            int b = scanner.nextInt();
            if (b == 0) {
                break;
            }
            System.out.println("Case " + a + ": " + b);

        } a++ a int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner if (b == 0) {
                break;
            } b == 0 b 0 {
                break;
            } break; System.out.println("Case " + a + ": " + b) System.out.println System.out System System.out "Case " + a + ": " + b ": " "Case " + a + ": " + b "Case " a ": " b String[] args args public class Main {

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

        }
    }
} public class Main {

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

        }
    }
} Main
import java.util.Scanner;

public class Main {

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

        }
    }
}