Task: Program Execution
Input (English): J, 1987, H, M, q, Y, 4491, 9765, H, I, X, d, w, T, z
Output (English): 10, 1987, 8, 13, 17, 25, 4491, 9765, 8, 9, 24, 4, 23, 20, 26