Task: Program Execution
Input (English): 3957, D, S, r, 361, x, R, I, 8927, l, 8845, g, i, 6801, V, 3335, 615, 2939
Output (English): 3957, 4, 19, 18, 361, 24, 18, 9, 8927, 12, 8845, 7, 9, 6801, 22, 3335, 615, 2939