Task: Program Execution
Input (English): C, 8819, 2649, 2829, 7261, 3871, Q, 1051, S, 8341, c, 8553, W, 9129, 3335
Output (English): 3, 8819, 2649, 2829, 7261, 3871, 17, 1051, 19, 8341, 3, 8553, 23, 9129, 3335