Task: Program Execution
Input (English): 251, x, 479, x, v
Output (English): 1, 2, 4, 5, 7, 9