Task: Program Execution
Input (English): 371, 129, 87, 161, v, l
Output (English): 1, 2, 3, 6, 7, 8, 9