Task: Program Execution
Input (English): d, 105, 457
Output (English): 0, 1, 4, 5, 7