Task: Program Execution
Input (English): 187, 461, b
Output (English): 1, 4, 6, 7, 8