Task: Program Execution
Input (English): 2, 7, ['l', '8775', '2951', '6649', 'p', 'L', '8985', '3539', 't', 'T', 'm']
Output (English): 8985Lp664929518775