Task: Program Execution
Input (English): 4, 21, ['Z', 'E', '3943', '1075', 'X', '7459', '9961', 'w', 'M', '7065', 'R', '7895', 'y', 'Z', '3651', '1915', '1829', 'I', 'j', 'g', '9903', '1021', '1675']
Output (English): 3099gjI928151911563Zy5987R5607Mw16999547X5701