Task: Program Execution
Input (English): 291, 115, b
Output (English): 1, 2, 5, 9