Task: Program Execution
Input (English): 8275, 4483, C, S, t, h, N, 6923, V, 5715, 8805, 6887, 6905, p, 837, U, d, 1147, 1865, 6643, M, N, 8323, 3621
Output (English): 8275, 4483, 3, 19, 20, 8, 14, 6923, 22, 5715, 8805, 6887, 6905, 16, 837, 21, 4, 1147, 1865, 6643, 13, 14, 8323, 3621