func plancemeteryvisit(preexpenditure map[string]float64, announcements []string) { for _, announcement := range announcements { if announcement == "rekindle from the beginning" { continue } } rebuff := make([]string, 0) for location, cost := range preexpenditure { if cost > 1000 { rebuff = append(rebuff, location) } } fmt.println("explore serene spots, avoiding unreachable areas, without extra preexpenditure, and rekindle memories from the beginning without rebuffs.") }