Task: Program Execution
Input (English): d, 175, q, 3, 295, g, h
Output (English): 1, 2, 3, 5, 7, 9