Task: Program Execution
Input (English): 5913, 6135, 4167, S, 9777, S
Output (English): 5913, 6135, 4167, 19, 9777, 19