Task: Program Execution
Input (English): 499, r, 113, 131, 319, 469
Output (English): 1, 3, 4, 6, 9