Task: Program Execution
Input (English): 71, 45, 351, b
Output (English): 1, 3, 4, 5, 7