Task: Program Execution
Input (English): 5, 7, ['9125', 'T', 'J', '8795', 'C', '3081', '967', '6267', 'W', 'g', '3599', 'w']
Output (English): 4048