Task: Program Execution
Input (English): 657, B, 7949, E, 1411, q, u, U, 8831, q, 7581, z, 7769, 3093, y, 4961, I, 3823, 9757, 469, 8505, 7417
Output (English): 657, 2, 7949, 5, 1411, 17, 21, 21, 8831, 17, 7581, 26, 7769, 3093, 25, 4961, 9, 3823, 9757, 469, 8505, 7417