Task: Program Execution
Input (English): 6, 9, ['8771', '5403', 'S', '5871', 'q', 'E', 'e', 'Z', 'W', '5819']
Output (English): W, Z, e, E