Task: Program Execution
Input (English): 3, 8, ['P', '4603', 'M', 'm', '6629', 'Z', 'x', 'u']
Output (English): uxZ9266mM