Task: Program Execution
Input (English): 2953, J, 4519, 5117, 9035, 1991, Q, P, z, 7731, 2945, 2167, 1915, 2049, 9859, s, C, 4877, 9353
Output (English): 2953, 10, 4519, 5117, 9035, 1991, 17, 16, 26, 7731, 2945, 2167, 1915, 2049, 9859, 19, 3, 4877, 9353