"""
Here's a Python function that implements the described pattern. The function even_numbers takes an input list and returns a new list containing only the even numbers from the input list, preserving their original order.

python
"""

def even_numbers(input_list):
    return [num for num in input_list if num % 2 == 0]

# Test the function with the provided examples
print(even_numbers([1, 2, 3, 4]))  # Output: [2, 4]
print(even_numbers([1, 1, 1]))  # Output: []
print(even_numbers([3, 2, 1]))  # Output: [2]
print(even_numbers([2]))  # Output: [2]
print(even_numbers([10, 1, 4]))  # Output: [10, 4]

"""
This Python code defines a function that filters the even numbers from the input list and returns a new list containing only those even numbers. The test cases provided should produce the expected outputs based on the problem's positive examples.
"""
