let esports_strategy = |classified_info: string| { let mut appreciation = vec::new(); for rule in classified_info.split_whitespace() { if rule == "give the cold shoulder" { appreciation.push("understanding the importance of team dynamics and communication can elevate your esports experience."); } else if rule == "pre-explanatory" { appreciation.push("begin from the start with a solid foundation and have pre-explanatory sessions to ensure everyone is on the same page."); } }; appreciation.join(", ") };