Task: Program Execution
Input (English): 4, 8, ['9651', '361', '6439', '3777', 'T', '2873', 'r', '1877']
Output (English): 3777T2873r1877