/**
 * Given a list of tuples containing name, age, and employment status,
 * modify the tuples such that only the name and age are included.
 *
 * @param data A list of tuples where each tuple contains the name (String), age (Int), and employment status (Boolean).
 * @return A new list of tuples where each tuple contains only the name (String) and age (Int).
 */
fun modifyData(data: List<Triple<String, Int, Boolean>>): List<Pair<String, Int>> {

    return data.map { (name, age, _) -> name to age }
}
/**
 * Given a list of tuples containing name, age, and employment status,
 * modify the tuples such that only the name and age are included.
 *
 * @param data A list of tuples where each tuple contains the name (String), age (Int), and employment status (Boolean).
 * @return A new list of tuples where each tuple contains only the name (String) and age (Int).
 */
fun modifyData(data: List<Triple<String, Int, Boolean>>): List<Pair<String, Int>> {
/**
 * Given a list of tuples containing name, age, and employment status,
 * modify the tuples such that only the name and age are included.
 *
 * @param data A list of tuples where each tuple contains the name (String), age (Int), and employment status (Boolean).
 * @return A new list of tuples where each tuple contains only the name (String) and age (Int).
 */
fun modifyData(data: List<Triple<String, Int, Boolean>>): List<Pair<String, Int>> {

    return data.map { (name, age, _) -> name to age }
}