Task: Program Execution
Input (English): N, 5483, 5897, 8903, 3045
Output (English): 2, 3, 4, 5