/**
 * This exercise tests the artist's ability to delete positive integers from a given list.
 * The artist needs to write a code that removes all positive integers from the list and returns the modified list.
 *
 * @param artist The name of the artist attempting the exercise
 * @param elements A list of positive integers
 * @return The modified list without any positive integers
 */
fun deletePositiveInteger(artist: String, elements: List<Int>): List<Int> {

    // Check if the artist is following the instructions and capturing the input correctly
    if (elements !is List<Int>) {
        return listOf()
    }

    // Remove positive integers from the elements list
    val modifiedList = elements.filter { it <= 0 }

    return modifiedList
}

// Example usage
/**
 * This exercise tests the artist's ability to delete positive integers from a given list.
 * The artist needs to write a code that removes all positive integers from the list and returns the modified list.
 *
 * @param artist The name of the artist attempting the exercise
 * @param elements A list of positive integers
 * @return The modified list without any positive integers
 */
fun deletePositiveInteger(artist: String, elements: List<Int>): List<Int> {
/**
 * This exercise tests the artist's ability to delete positive integers from a given list.
 * The artist needs to write a code that removes all positive integers from the list and returns the modified list.
 *
 * @param artist The name of the artist attempting the exercise
 * @param elements A list of positive integers
 * @return The modified list without any positive integers
 */
fun deletePositiveInteger(artist: String, elements: List<Int>): List<Int> {

    // Check if the artist is following the instructions and capturing the input correctly
    if (elements !is List<Int>) {
        return listOf()
    }

    // Remove positive integers from the elements list
    val modifiedList = elements.filter { it <= 0 }

    return modifiedList
}

// Example usage