Task: Program Execution
Input (English): 5, 5, ['Z', 'N', 'r', '2435', 'A', 'g']
Output (English): 0