Task: Program Execution
Input (English): 5, 7, ['T', '4467', 'd', '5421', '8875', 'W', '4491']
Output (English): 8875W4491