Task: Program Execution
Input (English): 4, 10, ['Q', 'p', '9265', 'u', 't', '4635', '9127', 'S', 'O', '8959', 'C', 'L']
Output (English): 8959, O, S, 9127, 4635, t, u