Task: Program Execution
Input (English): w, n, 431, 81, v, 335
Output (English): 1, 3, 4, 5, 8