Task: Program Execution
Input (English): q, x, q, o, m, n, h, 367, 273, 87, 127, 401
Output (English): 0, 1, 2, 3, 4, 6, 7, 8