Task: Program Execution
Input (English): s, 291, 257, w, 497, 309
Output (English): 0, 1, 2, 3, 4, 5, 7, 9