Task: Program Execution
Input (English): 3, 10, ['h', 'a', '1179', '9897', 'C', 's', '7787', 'U', '2707', '565']
Output (English): 5652707U7787sC98971179