Task: Program Execution
Input (English): 245, 217, z, 17, w, 249, 297, w, 335
Output (English): 1, 2, 3, 4, 5, 7, 9