/**
 * Given a map of students and their grades, find the first student whose grade is below 70
 * and return their name. Use a break statement to exit the loop early.
 *
 * @param dictionary A map containing students as keys and their grades as values.
 * @return The name of the first student with a grade below 70.
 *         Returns null if no student has a grade below 70.
 */
fun accessAndBreak(dictionary: Map<String, Int>): String? {

    for ((student, grade) in dictionary) {
        if (grade < 70) {
            return student
        }
    }
    return null
}
/**
 * Given a map of students and their grades, find the first student whose grade is below 70
 * and return their name. Use a break statement to exit the loop early.
 *
 * @param dictionary A map containing students as keys and their grades as values.
 * @return The name of the first student with a grade below 70.
 *         Returns null if no student has a grade below 70.
 */
fun accessAndBreak(dictionary: Map<String, Int>): String? {
/**
 * Given a map of students and their grades, find the first student whose grade is below 70
 * and return their name. Use a break statement to exit the loop early.
 *
 * @param dictionary A map containing students as keys and their grades as values.
 * @return The name of the first student with a grade below 70.
 *         Returns null if no student has a grade below 70.
 */
fun accessAndBreak(dictionary: Map<String, Int>): String? {

    for ((student, grade) in dictionary) {
        if (grade < 70) {
            return student
        }
    }
    return null
}