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