Task: Program Execution
Input (English): 2, 2, ['2415', '7017', '245', '871', '9725', '2433', 'r', '4865', 'g', 'T', '1009']
Output (English): 7017, 871, 2433, 4865, T