/**
 * Given a list of integers and a value, append only the integers greater than 10 to the list using the 'AND' operator.
 *
 * @param elements A list of integers.
 * @param value An integer.
 * @return A list of integers containing only the numbers from the original list that are greater than 10.
 */
fun appendAndOperator(elements: List<Int>, value: Int): List<Int> {

    // Initialize an empty list
    val result = mutableListOf<Int>()

    // Loop through each element in the given list, checking if it is greater than 10 using the 'AND' operator
    for (element in elements) {
        if (element > 10 && element > value) {
            result.add(element)
        }
    }

    return result
}
/**
 * Given a list of integers and a value, append only the integers greater than 10 to the list using the 'AND' operator.
 *
 * @param elements A list of integers.
 * @param value An integer.
 * @return A list of integers containing only the numbers from the original list that are greater than 10.
 */
fun appendAndOperator(elements: List<Int>, value: Int): List<Int> {
/**
 * Given a list of integers and a value, append only the integers greater than 10 to the list using the 'AND' operator.
 *
 * @param elements A list of integers.
 * @param value An integer.
 * @return A list of integers containing only the numbers from the original list that are greater than 10.
 */
fun appendAndOperator(elements: List<Int>, value: Int): List<Int> {

    // Initialize an empty list
    val result = mutableListOf<Int>()

    // Loop through each element in the given list, checking if it is greater than 10 using the 'AND' operator
    for (element in elements) {
        if (element > 10 && element > value) {
            result.add(element)
        }
    }

    return result
}