Task: Program Execution
Input (English): j, D, 7479, c, C, 9585, 1597, 3145, B
Output (English): 10, 4, 7479, 3, 3, 9585, 1597, 3145, 2