Task: Program Execution
Input (English): 7227, n, 2589, 9715, 2377
Output (English): 21908