Task: Program Execution
Input (English): e, 6219, 5963, 1281, 9739, r, B, 8723, M
Output (English): 2, 3, 4, 5, 8