Task: Program Execution
Input (English): 9427, J, 5843, 1837, 7805, S, 6881, 2987, d, 4331, O, 1797, j, P, 8403, q, 3347
Output (English): 9427, 10, 5843, 1837, 7805, 19, 6881, 2987, 4, 4331, 15, 1797, 10, 16, 8403, 17, 3347