Task: Program Execution
Input (English): 487, x
Output (English): 4, 7, 8