Task: Program Execution
Input (English): b, m, w, 405, 397, x, 13, 401, s, 171, 379
Output (English): 0, 1, 3, 4, 5, 7, 9