Task: Program Execution
Input (English): 2587, 4609, 5513, 2407, 6191, B, 5193
Output (English): 26500