Task: Program Execution
Input (English): 6, 10, ['C', '5819', '6897', 'H', '4511', 'M', 'J', '8159', 'C', '9411', 'i']
Output (English): M, J, 8159, C, 9411