/**
 * Given a list of numbers and a target number, this function will find all the numbers in the list that are greater
 * than the target number.
 *
 * @param numbers A list of integers.
 * @param target An integer.
 * @return A list of integers that are greater than the target number.
 */
fun loopGreaterThan(numbers: List<Int>, target: Int): List<Int> {

    // Initialize an empty list to store the result
    val results = mutableListOf<Int>()

    // Iterate over each number in the list
    for (number in numbers) {
        // Check if the current number is greater than the target number
        if (number > target) {
            // Add the number to the results list
            results.add(number)
        }
    }

    return results
}
/**
 * Given a list of numbers and a target number, this function will find all the numbers in the list that are greater
 * than the target number.
 *
 * @param numbers A list of integers.
 * @param target An integer.
 * @return A list of integers that are greater than the target number.
 */
fun loopGreaterThan(numbers: List<Int>, target: Int): List<Int> {
/**
 * Given a list of numbers and a target number, this function will find all the numbers in the list that are greater
 * than the target number.
 *
 * @param numbers A list of integers.
 * @param target An integer.
 * @return A list of integers that are greater than the target number.
 */
fun loopGreaterThan(numbers: List<Int>, target: Int): List<Int> {

    // Initialize an empty list to store the result
    val results = mutableListOf<Int>()

    // Iterate over each number in the list
    for (number in numbers) {
        // Check if the current number is greater than the target number
        if (number > target) {
            // Add the number to the results list
            results.add(number)
        }
    }

    return results
}