Task: Program Execution
Input (English): x, 287, 871, 7645, 9035, 8339
Output (English): 26177