package main import . "fmt" import . "strings" func main() { var n,s string Scan(&n,&s) s=ReplaceAll(s,"CPCTF",".") s=ReplaceAll(s,"CPCTCPC",".") Println(Count(s,".")) }