Task: Program Execution
Input (English): j, 331, c, v, 8743, O, 6363, c, c, S, d, N, D, j, 4421, 7965, Y
Output (English): 10, 331, 3, 22, 8743, 15, 6363, 3, 3, 19, 4, 14, 4, 10, 4421, 7965, 25