(stdin => {
  // Define Function

  // Declare Variable
  const inputs = stdin.toString().trim().split('\n')
  const nlist = Array.from(inputs.slice(0, -1), Number)

  const result = nlist.map((v, i) => `Case ${i + 1}: ${v}`)
  console.log(result.join('\n'))
})(require('fs').readFileSync('/dev/stdin', 'utf8'))

