Task: Program Execution
Input (English): J, h, 1475, 2415, V, 4525, i, M, 8859, 8597, 6589, 8773, 1875
Output (English): 10, 8, 1475, 2415, 22, 4525, 9, 13, 8859, 8597, 6589, 8773, 1875