Task: Program Execution
Input (English): Q, 2299, R, q, 2829, f, 4471, 6785, T, 433, 245, J, E, t, Z, X, 2389, 7519, s, 4181, S, 1387, 5645
Output (English): 2, 5, 7, 8, 10, 11, 17, 18, 20, 22, 23