Task: Program Execution
Input (English): 17, d, 291, o, 459
Output (English): 1, 2, 4, 5, 7, 9