Task: Program Execution
Input (English): 307, v, 237, 67
Output (English): 0, 2, 3, 6, 7