Task: Program Execution
Input (English): 3751, X, 8719, 4679, 1909, 9267, 7189, 5035, 3247
Output (English): 43796