Task: Program Execution
Input (English): j, m, 9745, x, 3497, j, 2633, d, o, b, n, 3693, n, m, R
Output (English): 10, 13, 9745, 24, 3497, 10, 2633, 4, 15, 2, 14, 3693, 14, 13, 18