import java.util.Scanner;

/**
 *
 * @author lenovo
 */
public class Main {

    public static void main(String[] args) {
        int count = 0;
        Scanner scanner = new Scanner(System.in);

        while (true) {
            int x = scanner.nextInt();
            count++;
            if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            }

        }

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

    public static void main(String[] args) {
        int count = 0;
        Scanner scanner = new Scanner(System.in);

        while (true) {
            int x = scanner.nextInt();
            count++;
            if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            }

        }

    }
} Main public static void main(String[] args) {
        int count = 0;
        Scanner scanner = new Scanner(System.in);

        while (true) {
            int x = scanner.nextInt();
            count++;
            if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            }

        }

    } main {
        int count = 0;
        Scanner scanner = new Scanner(System.in);

        while (true) {
            int x = scanner.nextInt();
            count++;
            if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            }

        }

    } int count = 0; count 0 Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) while (true) {
            int x = scanner.nextInt();
            count++;
            if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            }

        } true {
            int x = scanner.nextInt();
            count++;
            if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            }

        } int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner count++ count if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            } x >= 1 && x <= 10000 x >= 1 x 1 x <= 10000 x 10000 {

                System.out.println("Case " + count + ": " + x);
            } System.out.println("Case " + count + ": " + x) System.out.println System.out System System.out "Case " + count + ": " + x ": " "Case " + count + ": " + x "Case " count ": " x {
                break;
            } break; String[] args args public class Main {

    public static void main(String[] args) {
        int count = 0;
        Scanner scanner = new Scanner(System.in);

        while (true) {
            int x = scanner.nextInt();
            count++;
            if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            }

        }

    }
} public class Main {

    public static void main(String[] args) {
        int count = 0;
        Scanner scanner = new Scanner(System.in);

        while (true) {
            int x = scanner.nextInt();
            count++;
            if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            }

        }

    }
} Main
import java.util.Scanner;

/**
 *
 * @author lenovo
 */
public class Main {

    public static void main(String[] args) {
        int count = 0;
        Scanner scanner = new Scanner(System.in);

        while (true) {
            int x = scanner.nextInt();
            count++;
            if (x >= 1 && x <= 10000) {

                System.out.println("Case " + count + ": " + x);
            } else {
                break;
            }

        }

    }
}