Task: Program Execution
Input (English): Y, b, A, e, Q, 4139, A, D, 3005, q, 7451, I, 5767, 7093, 8951, F, 8873, 1693, Y, I, t, R, 2061
Output (English): 6, 9, 11, 13, 14, 15, 17, 18, 23