Task: Program Execution
Input (English): A, 3767, J, 8519, D, 2875, 1911, c, 7511, 1637, 1905, 9435, 7361, 8975
Output (English): 1, 3767, 10, 8519, 4, 2875, 1911, 3, 7511, 1637, 1905, 9435, 7361, 8975