Task: Program Execution
Input (English): i, 7975, i, 1985, 2791, 2007
Output (English): 14758