Task: Program Execution
Input (English): 12, 15, ['L', 'd', '6287', 'i', '3647', '6621', 'R', 'I', 'M', 'X', '2419', '1097', 'w', '4639', '265']
Output (English): 2654639w1097