/**
 * Given a list of names, find the actress with the matching target_name.
 *
 * @param names List of strings representing names
 * @param target_name String representing the name of the target actress
 * @return Name of the actress if found, otherwise "Actress not found"
 */
fun findActress(names: List<String>, targetName: String): String {

    for (name in names) {
        // Check if current name matches target_name
        if (name == targetName) {
            return name
        }
    }
    
    // If no match found, return "Actress not found"
    return "Actress not found"
}
/**
 * Given a list of names, find the actress with the matching target_name.
 *
 * @param names List of strings representing names
 * @param target_name String representing the name of the target actress
 * @return Name of the actress if found, otherwise "Actress not found"
 */
fun findActress(names: List<String>, targetName: String): String {
/**
 * Given a list of names, find the actress with the matching target_name.
 *
 * @param names List of strings representing names
 * @param target_name String representing the name of the target actress
 * @return Name of the actress if found, otherwise "Actress not found"
 */
fun findActress(names: List<String>, targetName: String): String {

    for (name in names) {
        // Check if current name matches target_name
        if (name == targetName) {
            return name
        }
    }
    
    // If no match found, return "Actress not found"
    return "Actress not found"
}