Task: Program Execution
Input (English): a, 8619, v, 8727, 779, S, u, P, 2811, h, 2029, M, Y, 4547, B, J, 3157, 2629, 465
Output (English): 1, 8619, 22, 8727, 779, 19, 21, 16, 2811, 8, 2029, 13, 25, 4547, 2, 10, 3157, 2629, 465