Task: Program Execution
Input (English): p, 123, q, x, i, w, 115, l, l, i, x
Output (English): 1, 2, 3, 5