Task: Program Execution
Input (English): v, n, 319, 127
Output (English): 1, 2, 3, 7, 9