import io.StdIn.readLine


object Main {

  def main(args: Array[String]): Unit = {
    val str = readLine()
    val tf = for (i <- 0 to 15) yield (if (str(i) == "codefestival2016"(i)) 0 else 1)
    println(tf.sum)
  }

}
