Task: Program Execution
Input (English): 9237, 8615, h, q, 973, h, 2407, V, 6517, 8721, b, 8857, 489, 4731, 9039, T, 4149, r, f, 5329, 6147, 1717
Output (English): 1, 2, 5, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21, 22