/**
 * Given a list of blood pressure readings, return a new list containing all the readings
 * that are greater than or equal to the specified value.
 *
 * @param bloodPressureList A list of blood pressure readings (integer values).
 * @param value A threshold value to filter the blood pressure readings.
 * @return A new list of blood pressure readings that are greater than or equal to the threshold value.
 */
fun bloodPressure(bloodPressureList: List<Int>, value: Int): List<Int> {

    val result = mutableListOf<Int>()
    for (reading in bloodPressureList) {
        if (reading >= value) {
            result.add(reading)
        }
    }
    return result
}
/**
 * Given a list of blood pressure readings, return a new list containing all the readings
 * that are greater than or equal to the specified value.
 *
 * @param bloodPressureList A list of blood pressure readings (integer values).
 * @param value A threshold value to filter the blood pressure readings.
 * @return A new list of blood pressure readings that are greater than or equal to the threshold value.
 */
fun bloodPressure(bloodPressureList: List<Int>, value: Int): List<Int> {
/**
 * Given a list of blood pressure readings, return a new list containing all the readings
 * that are greater than or equal to the specified value.
 *
 * @param bloodPressureList A list of blood pressure readings (integer values).
 * @param value A threshold value to filter the blood pressure readings.
 * @return A new list of blood pressure readings that are greater than or equal to the threshold value.
 */
fun bloodPressure(bloodPressureList: List<Int>, value: Int): List<Int> {

    val result = mutableListOf<Int>()
    for (reading in bloodPressureList) {
        if (reading >= value) {
            result.add(reading)
        }
    }
    return result
}