Task: Program Execution
Input (English): Q, Z, 9787, 2757, 3835, v, 4219, 8603, 8203, X, O, 3093, 3531
Output (English): 17, 26, 9787, 2757, 3835, 22, 4219, 8603, 8203, 24, 15, 3093, 3531