Task: Program Execution
Input (English): 4, 7, ['Z', 's', '2987', '6135', 'q', '3709', '1375']
Output (English): 1375, 3709, q, 6135