/**
 * Given a list of numbers and a threshold value n,
 * return a new list containing all numbers greater than n.
 *
 * @param numbers the list of numbers
 * @param n the threshold value
 * @return a new list containing all numbers greater than n
 *
 * Example:
 * numbers = [1, 5, 9, 3, 7, 6]
 * n = 4
 *
 * Returns:
 * [5, 9, 7, 6]
 */
fun sliceGreaterThan(numbers: List<Int>, n: Int): List<Int> {

    return numbers.filter { it > n }
}
/**
 * Given a list of numbers and a threshold value n,
 * return a new list containing all numbers greater than n.
 *
 * @param numbers the list of numbers
 * @param n the threshold value
 * @return a new list containing all numbers greater than n
 *
 * Example:
 * numbers = [1, 5, 9, 3, 7, 6]
 * n = 4
 *
 * Returns:
 * [5, 9, 7, 6]
 */
fun sliceGreaterThan(numbers: List<Int>, n: Int): List<Int> {
/**
 * Given a list of numbers and a threshold value n,
 * return a new list containing all numbers greater than n.
 *
 * @param numbers the list of numbers
 * @param n the threshold value
 * @return a new list containing all numbers greater than n
 *
 * Example:
 * numbers = [1, 5, 9, 3, 7, 6]
 * n = 4
 *
 * Returns:
 * [5, 9, 7, 6]
 */
fun sliceGreaterThan(numbers: List<Int>, n: Int): List<Int> {

    return numbers.filter { it > n }
}