/**
 * Find the lowest concentration value below the given threshold
 */
fun findLowestConcentration(data: List<List<Int>>, threshold: Int): List<Int> {

    val lowestValues = mutableListOf<Int>()

    for (subset in data) {
        val sortedSubset = subset.sorted()

        for (element in sortedSubset) {
            if (element < threshold) {
                lowestValues.add(element)
                break
            }
        }
    }

    return lowestValues
}
/**
 * Find the lowest concentration value below the given threshold
 */
fun findLowestConcentration(data: List<List<Int>>, threshold: Int): List<Int> {
/**
 * Find the lowest concentration value below the given threshold
 */
fun findLowestConcentration(data: List<List<Int>>, threshold: Int): List<Int> {

    val lowestValues = mutableListOf<Int>()

    for (subset in data) {
        val sortedSubset = subset.sorted()

        for (element in sortedSubset) {
            if (element < threshold) {
                lowestValues.add(element)
                break
            }
        }
    }

    return lowestValues
}