Task: Program Execution
Input (English): v, 8667, 7643, 3093, a, d, 331
Output (English): 2, 3, 4, 7