Task: Program Execution
Input (English): 2, 7, ['k', 'o', '3571', 'Z', 'G', '4839', 'h']
Output (English): o3571ZG4839h