Task: Program Execution
Input (English): 139, w, 313, 453, 131, 191, 321, b, g, 301, 21, g
Output (English): 0, 1, 2, 3, 4, 5, 9