Task: Program Execution
Input (English): 3, 6, ['9485', 'v', '6231', 'f', 'M', 'D']
Output (English): 6231, f, M, D