Task: Program Execution
Input (English): 1943, S
Output (English): 2