Task: Program Execution
Input (English): C, 965, 4033, 1935, g, 1061, 9959, S, 5121, 8899, 8759, 5173, T, 2891, 2631, O, K, 9141, 8965, 7787, J
Output (English): 3, 965, 4033, 1935, 7, 1061, 9959, 19, 5121, 8899, 8759, 5173, 20, 2891, 2631, 15, 11, 9141, 8965, 7787, 10