Task: Program Execution
Input (English): 2, 3, ['117', 'J', 'M']
Output (English): J, M