// No.418 ミンミンゼミ package main import ( "fmt" "strings" ) func main() { var s string fmt.Scan(&s) fmt.Println(strings.Count(s, "n")) }