object Main{
    def main(args: Array[String]): Unit ={
        var in = scala.io.StdIn.readLine().split("\\r\\n").map(_.toInt)
        for((x, i) <- in.zip(Stream from 1)) yield (println("Case " + i +": " + x))
    }
}