/**
 * This function takes a map of students' scores and returns a list of students who have not passed the subject.
 * The students' scores are represented as a map where the key is the student's name and the value is their score.
 * The passing score is considered to be 70.
 *
 * @param studentsScores A map representing the students' scores.
 * @return A list of students who have not passed the subject.
 */
fun findStudentsNotPassed(studentsScores: Map<String, Int>): List<String> {

    val notPassedStudents = mutableListOf<String>()

    for ((student, score) in studentsScores) {
        // Check if the score is less than 70 using the NOT operator
        if (score < 70) {
            notPassedStudents.add(student)
        }
    }

    return notPassedStudents
}
/**
 * This function takes a map of students' scores and returns a list of students who have not passed the subject.
 * The students' scores are represented as a map where the key is the student's name and the value is their score.
 * The passing score is considered to be 70.
 *
 * @param studentsScores A map representing the students' scores.
 * @return A list of students who have not passed the subject.
 */
fun findStudentsNotPassed(studentsScores: Map<String, Int>): List<String> {
/**
 * This function takes a map of students' scores and returns a list of students who have not passed the subject.
 * The students' scores are represented as a map where the key is the student's name and the value is their score.
 * The passing score is considered to be 70.
 *
 * @param studentsScores A map representing the students' scores.
 * @return A list of students who have not passed the subject.
 */
fun findStudentsNotPassed(studentsScores: Map<String, Int>): List<String> {

    val notPassedStudents = mutableListOf<String>()

    for ((student, score) in studentsScores) {
        // Check if the score is less than 70 using the NOT operator
        if (score < 70) {
            notPassedStudents.add(student)
        }
    }

    return notPassedStudents
}