Task: Program Execution
Input (English): 2, 3, ['2885', '2997', 'T', '5609']
Output (English): T, 2997