Task: Program Execution
Input (English): 3, 6, ['7671', '4247', '5223', '4109', 'L', '9725', 'D', 'O', '1921', 'w', '4423']
Output (English): 5223, 4109, L, 9725