Task: Program Execution
Input (English): 2, 2, ['d', 'K']
Output (English): 0