Task: Program Execution
Input (English): 2365, 1905, n, 8787, 225, 2533, 6849, 4653, 1265
Output (English): 28582