Task: Program Execution
Input (English): 4, 4, ['3911', '1307', 'a', '7215', '2317']
Output (English): 7215