Task: Program Execution
Input (English): 2, 6, ['l', 'q', '8047', 'a', 'C', 'H', 'M', '5587', '3795', '9369']
Output (English): H, C, a, 8047, q