Task: Program Execution
Input (English): s, w, 347, 359, 411, b, 273, 413, 35, 1
Output (English): 1, 2, 3, 4, 5, 7, 9