import std.stdio;
import std.conv;
import std.string;
import std.format;

void main()
{
  //string s = chomp(readln());
  //long l = to!long(s);

  string line;
  int count = 0;
  while ((line = readln()) !is null) {
    string s = chomp(line);
    count++;
    writefln("Case %d: %s", count, s);
  }
}