Task: Program Execution
Input (English): r, 119, 29, 71, 425, b, d
Output (English): 1, 2, 4, 5, 7, 9