Task: Program Execution
Input (English): s, b, w, 69, 303, 25, 341, 271
Output (English): 0, 1, 2, 3, 4, 5, 6, 7, 9