Task: Program Execution
Input (English): 2, 2, ['5709', '8311', 'm', 'j', '7825', 'O']
Output (English): 8311