Task: Program Execution
Input (English): 4, 8, ['g', '6711', '6701', 'p', '6345', 'W', '9953', '3185', 'W']
Output (English): 58133599W5436p