Task: Program Execution
Input (English): i, 249, 287
Output (English): 2, 4, 7, 8, 9