Task: Program Execution
Input (English): 2407, A, f, 7167, 629, L, u, 6675, C, 857, A, 2385, G
Output (English): 2407, 1, 6, 7167, 629, 12, 21, 6675, 3, 857, 1, 2385, 7