Task: Program Execution
Input (English): 5, 10, ['E', 'C', '6457', '5113', 'B', '6937', 'Z', '1341', '3645', 'B', 'm', 'I', 'P']
Output (English): B, 3645, 1341, Z, 6937, B