Task: Program Execution
Input (English): B, 1491, Q, y, D, b, 1667, W, 9611, 3105, Z, 3705, 9391
Output (English): 2, 1491, 17, 25, 4, 2, 1667, 23, 9611, 3105, 26, 3705, 9391