Task: Program Execution
Input (English): 231, c, q, x, x
Output (English): 1, 2, 3