Task: Program Execution
Input (English): b, M, p, 8875, 9779, 9267, P, 5469, Y, 2645, G, Y, u, 3641, 4519
Output (English): 2, 13, 16, 8875, 9779, 9267, 16, 5469, 25, 2645, 7, 25, 21, 3641, 4519