Task: Program Execution
Input (English): 171, 435, t, 429, g
Output (English): 1, 2, 3, 4, 5, 7, 9