Task: Program Execution
Input (English): 3, ['r', '4123', 'R', '5835', 'E', '4469']
Output (English): 5835, E, 4469