Task: Program Execution
Input (English): A, S, I, D, 4791, 4747, 413, I, B, 4469
Output (English): 1, 19, 9, 4, 4791, 4747, 413, 9, 2, 4469