Task: Program Execution
Input (English): 1, 4, ['M', '2289', 'S', 'D']
Output (English): M2289SD