Task: Program Execution
Input (English): 2583, 7413, 2143, S, 4073, 5549
Output (English): 2583, 7413, 2143, 19, 4073, 5549