"use strict";


var readable = process.stdin;
readable.resume();
readable.setEncoding( 'utf-8' );

var data = "";
readable.on( 'data', function( chunk ) {
		data += chunk;
});


readable.on( 'end', function() {
		var data2 = data.split( '\n' );

		var output = [];
		var cnt = data2.length;
		for( var i=0; i<cnt; i++ ) {
			if( 0 != data2[i] ) {
				output.push( 'Case '+(i+1)+': '+data2[i] );
			}
		}
		console.log( output.join( '\n' ) );
});


