Task: Program Execution
Input (English): 3, 5, ['M', '4989', 'k', 'v', '4873']
Output (English): 4873, v, k