Task: Program Execution
Input (English): 8667, W, B, 7595, 2651, z, 9791, A, 2975, 3861, A, 1643, E, e, p, Y, A, y, Z, X, l, Q, e, 6109
Output (English): 2, 3, 6, 8, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23