Task: Program Execution
Input (English): a, C, 5641, 4773, k, S, 3199, g, 6895, F, 6959, 2883, Q, 3419, A, 2997, 2907, m, C, I, 5235, 1359, G, 3375
Output (English): 1, 3, 5641, 4773, 11, 19, 3199, 7, 6895, 6, 6959, 2883, 17, 3419, 1, 2997, 2907, 13, 3, 9, 5235, 1359, 7, 3375