Task: Program Execution
Input (English): 3, ['7129', 'W', '8671', 'f', '1015', 'X', '8185', 'a', 'B', 'C']
Output (English): 7129, W, 8671