/**
 * Given a list of enemy health values, count the number of enemies with health less than a given threshold.
 *
 * @param enemies A list of integers representing the health values of enemies.
 * @param threshold An integer representing the minimum health threshold.
 * @return The count of enemies with health less than the threshold.
 */
fun countEnemiesLessThanThreshold(enemies: List<Int>, threshold: Int): Int {

    var count = 0
    for (enemyHealth in enemies) {
        // Add code here to check if the enemy's health is less than the threshold
        if (enemyHealth < threshold) {
            count++
        }
    }
    return count
}
/**
 * Given a list of enemy health values, count the number of enemies with health less than a given threshold.
 *
 * @param enemies A list of integers representing the health values of enemies.
 * @param threshold An integer representing the minimum health threshold.
 * @return The count of enemies with health less than the threshold.
 */
fun countEnemiesLessThanThreshold(enemies: List<Int>, threshold: Int): Int {
/**
 * Given a list of enemy health values, count the number of enemies with health less than a given threshold.
 *
 * @param enemies A list of integers representing the health values of enemies.
 * @param threshold An integer representing the minimum health threshold.
 * @return The count of enemies with health less than the threshold.
 */
fun countEnemiesLessThanThreshold(enemies: List<Int>, threshold: Int): Int {

    var count = 0
    for (enemyHealth in enemies) {
        // Add code here to check if the enemy's health is less than the threshold
        if (enemyHealth < threshold) {
            count++
        }
    }
    return count
}