import java.io.*;

class Main{
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
                int x = 0;
                int[] b = new int[100000];
                int a = 1;

                while(a != 0){
                    String line = reader.readLine();
                    a = Integer.parseInt(line);
                    b[x] = a;
                    x += 1;
                }

                for(int i = 0; i < (x - 1); i++){
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                }
                
        } catch (IOException e) {
            //TODO: handle exception
            System.out.println(e);
        }
    }
} import java.io.*; io.* java class Main{
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
                int x = 0;
                int[] b = new int[100000];
                int a = 1;

                while(a != 0){
                    String line = reader.readLine();
                    a = Integer.parseInt(line);
                    b[x] = a;
                    x += 1;
                }

                for(int i = 0; i < (x - 1); i++){
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                }
                
        } catch (IOException e) {
            //TODO: handle exception
            System.out.println(e);
        }
    }
} Main public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
                int x = 0;
                int[] b = new int[100000];
                int a = 1;

                while(a != 0){
                    String line = reader.readLine();
                    a = Integer.parseInt(line);
                    b[x] = a;
                    x += 1;
                }

                for(int i = 0; i < (x - 1); i++){
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                }
                
        } catch (IOException e) {
            //TODO: handle exception
            System.out.println(e);
        }
    } main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
                int x = 0;
                int[] b = new int[100000];
                int a = 1;

                while(a != 0){
                    String line = reader.readLine();
                    a = Integer.parseInt(line);
                    b[x] = a;
                    x += 1;
                }

                for(int i = 0; i < (x - 1); i++){
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                }
                
        } catch (IOException e) {
            //TODO: handle exception
            System.out.println(e);
        }
    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try {
                int x = 0;
                int[] b = new int[100000];
                int a = 1;

                while(a != 0){
                    String line = reader.readLine();
                    a = Integer.parseInt(line);
                    b[x] = a;
                    x += 1;
                }

                for(int i = 0; i < (x - 1); i++){
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                }
                
        } catch (IOException e) {
            //TODO: handle exception
            System.out.println(e);
        } catch (IOException e) {
            //TODO: handle exception
            System.out.println(e);
        } IOException e {
            //TODO: handle exception
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e {
                int x = 0;
                int[] b = new int[100000];
                int a = 1;

                while(a != 0){
                    String line = reader.readLine();
                    a = Integer.parseInt(line);
                    b[x] = a;
                    x += 1;
                }

                for(int i = 0; i < (x - 1); i++){
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                }
                
        } int x = 0; x 0 int[] b = new int[100000]; b new int[100000] 100000 int a = 1; a 1 while(a != 0){
                    String line = reader.readLine();
                    a = Integer.parseInt(line);
                    b[x] = a;
                    x += 1;
                } a != 0 a 0 {
                    String line = reader.readLine();
                    a = Integer.parseInt(line);
                    b[x] = a;
                    x += 1;
                } String line = reader.readLine(); line reader.readLine() reader.readLine reader a = Integer.parseInt(line) a Integer.parseInt(line) Integer.parseInt Integer line b[x] = a b[x] b x a x += 1 x 1 for(int i = 0; i < (x - 1); i++){
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                } int i = 0; int i = 0; i 0 i < (x - 1) i (x - 1) x 1 i++ i++ i {
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                } {
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                } System.out.println("Case " + (i+1) + ": " + b[i]) System.out.println System.out System System.out "Case " + (i+1) + ": " + b[i] ": " "Case " + (i+1) + ": " + b[i] "Case " (i+1) i 1 ": " b[i] b i String[] args args
import java.io.*;

class Main{
    public static void main(String[] args){
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
                int x = 0;
                int[] b = new int[100000];
                int a = 1;

                while(a != 0){
                    String line = reader.readLine();
                    a = Integer.parseInt(line);
                    b[x] = a;
                    x += 1;
                }

                for(int i = 0; i < (x - 1); i++){
                    System.out.println("Case " + (i+1) + ": " + b[i]);
                }
                
        } catch (IOException e) {
            //TODO: handle exception
            System.out.println(e);
        }
    }
}