Task: Program Execution
Input (English): 7605, 1867, e, B, A, 391, 9135
Output (English): 1, 2, 6, 7