Task: Program Execution
Input (English): B, e, 2803, Q, h, i, 6647, 2825, A, S
Output (English): 3, 7, 8