Task: Program Execution
Input (English): w, 349, p, 13, 201, 301, s, 31, 225, 285
Output (English): 0, 1, 2, 3, 4, 5, 8, 9