const input = require('fs').readFileSync('/dev/stdin', 'utf8');
const lines = input.trim().split('\n');

let i = 0;
while (line = lines.shift()) {
	i++;
	const number = Number.parseInt(line);

	console.log(`Case ${i}: ${number}`);
}

