Task: Program Execution
Input (English): 2, 4, ['4047', 'S', '4249', '1735', '207']
Output (English): 53719424S