Task: Program Execution
Input (English): W, O, d, 6387, 7683, 8447, 5883, 7593, 1135, 9329, S, 4103, Q, e, 4403, 4097, k, y, u, 3529, 9197, 1759, p, 815
Output (English): 4, 5, 6, 7, 8, 9, 10, 12, 15, 16, 20, 21, 22, 24