Task: Program Execution
Input (English): 3, ['W', '2501', '6891', 'W', '9129', 'R']
Output (English): W, 9129, R