Task: Program Execution
Input (English): 6, 10, ['W', 'Z', 'd', 'E', '4085', 'w', 'C', '3219', 's', 'P', '7793', 'S', 'G', '2689', '1775']
Output (English): wC3219sP