Task: Program Execution
Input (English): 1, 10, ['C', 'Z', '6421', 'G', 'A', '3075', '613', 'U', 'w', '2945']
Output (English): 5492wU3165703AG1246ZC