Task: Program Execution
Input (English): w, p, 127, 43, 31, e, w, l
Output (English): 1, 2, 3, 4, 7