Task: Program Execution
Input (English): E, k, b, m, 6099, A, A, w, 3235, w, B, 8397, A, 5523, 7505, X, 2927
Output (English): 5, 11, 2, 13, 6099, 1, 1, 23, 3235, 23, 2, 8397, 1, 5523, 7505, 24, 2927