package main import ( "fmt" ) func main() { var N, rlt int var s string fmt.Scan(&N) m := make(map[string]int) for i := 0; i < N; i++ { fmt.Scan(&s) m[s]++ } for _, v := range m { if v == 1 { rlt++ } } fmt.Println(rlt) }