package main import ( "fmt" "sort" ) func main() { count := 0 fmt.Scan(&count) var strList []string for count > 0 { temp := "" fmt.Scan(&temp) strList = append(strList, temp) count-- } key := "" fmt.Scan(&key) index := 0 fmt.Scan(&index) check(strList, key, ...