Task: Program Execution
Input (English): 9707, 9075, q, 5879, 3719, g, 4951, 2815
Output (English): 36146