Task: Program Execution
Input (English): b, E, 7811, C, B, P, 9913, x, d, g, 4967, k, 2711, K, I, k, h, I, z, 343, D, r, Q
Output (English): 2, 5, 7811, 3, 2, 16, 9913, 24, 4, 7, 4967, 11, 2711, 11, 9, 11, 8, 9, 26, 343, 4, 18, 17