Task: Program Execution
Input (English): K, 847, j, 9779, Y, 3623, r, 1151, m, 6197, d, c, 5667, D, 2757, v, 3331, q, S, e, s, l, 4879, 8753
Output (English): 11, 847, 10, 9779, 25, 3623, 18, 1151, 13, 6197, 4, 3, 5667, 4, 2757, 22, 3331, 17, 19, 5, 19, 12, 4879, 8753