Task: Program Execution
Input (English): Q, h, 3919, V, 7155, 6661, 9567, 4745, J, 5747, 2247, 4337, S, e, 2661, 2385, 5573
Output (English): 3, 5, 6, 7, 8, 10, 11, 12, 15, 16, 17