Task: Program Execution
Input (English): J, Y, 1305, n, J, 4533, r, 6587, Y, 8961, a, Z
Output (English): 10, 25, 1305, 14, 10, 4533, 18, 6587, 25, 8961, 1, 26