Task: Program Execution
Input (English): 187, c, x, m, 251, 409, 167, 295
Output (English): 0, 1, 2, 4, 5, 6, 7, 8, 9