Task: Program Execution
Input (English): 223, d, 187, 81, 129, 397
Output (English): 1, 2, 3, 7, 8, 9