Task: Program Execution
Input (English): 231, v, w, 417, h, i
Output (English): 1, 2, 3, 4, 7