Task: Program Execution
Input (English): 2, 4, ['I', 'M', 'Z', '5011', 'x']
Output (English): 5011ZM