Task: Program Execution
Input (English): 2, 3, ['i', 'M', 'S']
Output (English): 0