Task: Program Execution
Input (English): 4, 4, ['6023', 'A', 'Z', 'J', 'p', '1711']
Output (English): 0