Task: Program Execution
Input (English): 3, 3, ['e', 'y', 'Y', 'j']
Output (English): 0