/**
 * Given a list of case numbers and a threshold value, this function should count
 * the number of cases that have a case number greater than or equal to the threshold.
 *
 * @param cases List of case numbers.
 * @param threshold Minimum case number to consider.
 * @return Number of cases that meet the given threshold.
 */
fun countCases(cases: List<Int>, threshold: Int): Int {

    var count = 0

    for (caseNumber in cases) {
        if (caseNumber >= threshold) {
            count++
        }
    }

    return count
}
/**
 * Given a list of case numbers and a threshold value, this function should count
 * the number of cases that have a case number greater than or equal to the threshold.
 *
 * @param cases List of case numbers.
 * @param threshold Minimum case number to consider.
 * @return Number of cases that meet the given threshold.
 */
fun countCases(cases: List<Int>, threshold: Int): Int {
/**
 * Given a list of case numbers and a threshold value, this function should count
 * the number of cases that have a case number greater than or equal to the threshold.
 *
 * @param cases List of case numbers.
 * @param threshold Minimum case number to consider.
 * @return Number of cases that meet the given threshold.
 */
fun countCases(cases: List<Int>, threshold: Int): Int {

    var count = 0

    for (caseNumber in cases) {
        if (caseNumber >= threshold) {
            count++
        }
    }

    return count
}