Task: Program Execution
Input (English): r, 163, 289, 235, 341
Output (English): 1, 2, 3, 4, 5, 6, 8, 9