Task: Program Execution
Input (English): v, 379, i, v, q, f, p, 387, 47
Output (English): 3, 4, 7, 8, 9