Task: Program Execution
Input (English): 2955, 7583, D, 8881, X, 6441, V, 6087, S, 3727, 2943, k, C, q, U, N, 9047, S, 7259, 3941, 2435
Output (English): 2955, 7583, 4, 8881, 24, 6441, 22, 6087, 19, 3727, 2943, 11, 3, 17, 21, 14, 9047, 19, 7259, 3941, 2435