Task: Program Execution
Input (English): 4897, E, 1117, G, I, 9531, k, 6309, 9137, D, 6151, K, 3341, 1055, 2437, 2319, d, x, 4925, 9287, 3245
Output (English): 4897, 5, 1117, 7, 9, 9531, 11, 6309, 9137, 4, 6151, 11, 3341, 1055, 2437, 2319, 4, 24, 4925, 9287, 3245