Task: Program Execution
Input (English): 8, 11, ['1707', 'p', 'C', '1231', '1211', 'h', 'j', '5125', 'G', 'S', '1517', '4471', 'G', '3981', '1551', 'p']
Output (English): 5125GS1517