Task: Program Execution
Input (English): Q, J, S, 9903, J, 9661, K, e, 2567, 2897, U, 9439, 7909, 8867, Z, 3563, 2961, 5245, 3791, P
Output (English): 1, 2, 3, 5, 7, 8, 11, 15, 20