Task: Program Execution
Input (English): 2, 9, ['5105', 'p', '1783', 'G', '3117', '9', 'x', 'S', '117', 'C', '5183', 'F', '1667']
Output (English): 711Sx97113G3871p