Task: Program Execution
Input (English): 2, 4, ['J', 'J', '8283', 'M']
Output (English): M8283J