Task: Program Execution
Input (English): H, 9741, X, x, 3843, g, i, w, 8231, 7905, 4499, 3305, S, b, 6855, g, V, A, w, 3225
Output (English): 1, 3, 4, 6, 7, 8, 13, 14, 16, 17, 18, 19