Task: Program Execution
Input (English): 3, 5, ['4171', 'i', '5835', 'P', 'c']
Output (English): cP5385