Task: Program Execution
Input (English): 3, 5, ['p', '8743', 'T', 'v', '313', 'n', 'd', 'B', '4851', '4389', 'U', 'h', '9955', 'R', 'd', 'V', 'M', '2761', 'J', '739', '5111']
Output (English): 313vT