/**
 * This function receives a nested tuple containing information about several people and an ID number.
 * It searches for the person with the given ID number and returns their information as a tuple
 */
fun findInformation(people: List<List<Any>>, personId: Int): List<Any> {

    var result = emptyList<Any>()

    // Iterate through each person's information in the nested list
    for (person in people) {
        // Check if the ID number matches the provided personId
        if (person[0] == personId) {
            result = person
            break
        }
    }

    return result
}
/**
 * This function receives a nested tuple containing information about several people and an ID number.
 * It searches for the person with the given ID number and returns their information as a tuple
 */
fun findInformation(people: List<List<Any>>, personId: Int): List<Any> {
/**
 * This function receives a nested tuple containing information about several people and an ID number.
 * It searches for the person with the given ID number and returns their information as a tuple
 */
fun findInformation(people: List<List<Any>>, personId: Int): List<Any> {

    var result = emptyList<Any>()

    // Iterate through each person's information in the nested list
    for (person in people) {
        // Check if the ID number matches the provided personId
        if (person[0] == personId) {
            result = person
            break
        }
    }

    return result
}