/**
 * Given a tuple containing information about a journalist, this function returns a tuple
 * containing specific elements of the journalist's data.
 *
 * @param journalistData A tuple containing information about a journalist.
 * @return A tuple of specific elements from the journalist's data.
 */
fun intersectionOfTuples(journalistData: List<Any>): Triple<Any, Any, Any> {

    // Extracting specific elements from the journalist's data
    val name = journalistData[1]
    val organization = journalistData[3]
    val articles = journalistData[journalistData.size - 1]

    return Triple(name, organization, articles)
}
/**
 * Given a tuple containing information about a journalist, this function returns a tuple
 * containing specific elements of the journalist's data.
 *
 * @param journalistData A tuple containing information about a journalist.
 * @return A tuple of specific elements from the journalist's data.
 */
fun intersectionOfTuples(journalistData: List<Any>): Triple<Any, Any, Any> {
/**
 * Given a tuple containing information about a journalist, this function returns a tuple
 * containing specific elements of the journalist's data.
 *
 * @param journalistData A tuple containing information about a journalist.
 * @return A tuple of specific elements from the journalist's data.
 */
fun intersectionOfTuples(journalistData: List<Any>): Triple<Any, Any, Any> {

    // Extracting specific elements from the journalist's data
    val name = journalistData[1]
    val organization = journalistData[3]
    val articles = journalistData[journalistData.size - 1]

    return Triple(name, organization, articles)
}