Task: Program Execution
Input (English): v, 47, 47, 185
Output (English): 1, 4, 5, 7, 8