Task: Program Execution
Input (English): 7, 7, ['5867', 'T', '4865', '3609', 'O', 'C', '4417']
Output (English): 4417