Task: Program Execution
Input (English): 5, 6, ['M', '5115', '493', '1813', 'I', '6381']
Output (English): I6381