Task: Program Execution
Input (English): 6413, 9345, S
Output (English): 15758