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