Task: Program Execution
Input (English): 13, d, w, 323, 155, 219, 75, 365, 117
Output (English): 1, 2, 3, 5, 6, 7, 9