Task: Program Execution
Input (English): 4573, r, P, 9495, 4535, 9637, G, q, 4807, 1643, 8293, 909
Output (English): 1, 4, 5, 6, 9, 10, 11, 12