Task: Program Execution
Input (English): 2, 2, ['6271', '7237', 'g', '6095']
Output (English): 7237