Task: Program Execution
Input (English): 317, o, 11, 341, 59
Output (English): 1, 3, 4, 5, 7, 9