Task: Program Execution
Input (English): 2, 2, ['J', 'j']
Output (English): 0