Task: Program Execution
Input (English): 3, 3, ['8995', '9615', '7737', 'A', '873']
Output (English): 7737