Task: Program Execution
Input (English): s, 267, q, e, w, 287
Output (English): 2, 6, 7, 8