Task: Program Execution
Input (English): 131, x, 167, 341
Output (English): 1, 3, 4, 6, 7