Task: Program Execution
Input (English): 341, w, l, 443, w, 161, d, 167, 185
Output (English): 1, 3, 4, 5, 6, 7, 8