Task: Program Execution
Input (English): 2493, r, t, 4709, 6563, w, 2847, 5213, d, 4801, F, s, p, h, 5995, S, 4697, 1769, 8307, n, 7397, b, 7885, X
Output (English): 1, 4, 5, 7, 8, 10, 15, 17, 18, 19, 21, 23