Task: Program Execution
Input (English): 1, 5, ['9533', '9671', '6871', 'S', '4865']
Output (English): 4865S687196719533