Task: Program Execution
Input (English): d, 395, d, 233, 271
Output (English): 1, 2, 3, 5, 7, 9