Task: Program Execution
Input (English): 325, 101, x, 131, o
Output (English): 0, 1, 2, 3, 5