Task: Program Execution
Input (English): B, 8307, W, 9797, Q, 4143, 3583, 363, I, 4221, m, 4345, l
Output (English): 6