Task: Program Execution
Input (English): 3, ['9989', '157', 'A', '1871', '9987', 'a', 'R', '7267', 'R', 'R', 'C']
Output (English): 9989, 157, A, 1871, 9987, a, R, 7267