Task: Program Execution
Input (English): v, 39, 9, 113, 193, 391, y, p
Output (English): 1, 3, 9