Task: Program Execution
Input (English): r, W, o, 7545, W, 3663, 9999, S, 7759, W
Output (English): 18, 23, 15, 7545, 23, 3663, 9999, 19, 7759, 23