/**
 * Appends elements from numbers list that are greater than or equal to the threshold.
 *
 * @param numbers A list of numbers.
 * @param threshold The threshold value.
 * @return A new list containing only the elements from numbers greater than or equal to the threshold.
 */
fun appendGreaterThanEqualTo(numbers: List<Int>, threshold: Int): List<Int> {

    val result = mutableListOf<Int>()
    for (num in numbers) {
        if (num >= threshold) {
            result.add(num)
        }
    }
    return result
}
/**
 * Appends elements from numbers list that are greater than or equal to the threshold.
 *
 * @param numbers A list of numbers.
 * @param threshold The threshold value.
 * @return A new list containing only the elements from numbers greater than or equal to the threshold.
 */
fun appendGreaterThanEqualTo(numbers: List<Int>, threshold: Int): List<Int> {
/**
 * Appends elements from numbers list that are greater than or equal to the threshold.
 *
 * @param numbers A list of numbers.
 * @param threshold The threshold value.
 * @return A new list containing only the elements from numbers greater than or equal to the threshold.
 */
fun appendGreaterThanEqualTo(numbers: List<Int>, threshold: Int): List<Int> {

    val result = mutableListOf<Int>()
    for (num in numbers) {
        if (num >= threshold) {
            result.add(num)
        }
    }
    return result
}