Task: Program Execution
Input (English): 335, 3, 65, x, 9, 63, d, 117
Output (English): 1, 3, 5, 6, 7, 9