Task: Program Execution
Input (English): 25, 227, 495, n, 387
Output (English): 2, 3, 4, 5, 7, 8, 9