object Main{
    def main(args: Array[String]): Unit ={
        var in = io.Source.stdin.getLines()
        for((x, i) <- in.zipWithIndex) yield (
          println("Case " + i + ": " + x.toInt)
          )
    }
}