Task: Program Execution
Input (English): 373, j, 197, 267, 231
Output (English): 1, 2, 3, 6, 7, 9