var body = '';
var readbale = process.stdin;
readable.resume();
readable.setEncoding('utf-8');
readbale.on('data', function (input) {
    x += input;
});
readbale.on('end', function () {
    var xArray = x.split('\n');
    var output = [];
    for(var i = 0; i < xArray.length; i++) {
        if(0 != xArrary[i]) {
            output.push('Case ' + (i + 1) + ': ' + xArrary[i]);
        }
    }
    console.log(output.join('\n'));
});