Task: Program Execution
Input (English): M, Z, 9195, c, 9055, 7317, X, 471, 1017, q, l, c, 4173, D, 5759, g, E, 743
Output (English): 13, 26, 9195, 3, 9055, 7317, 24, 471, 1017, 17, 12, 3, 4173, 4, 5759, 7, 5, 743