Task: Mathematics
Input (English): 9776 @ 9839 @ 708 @ 6651
Output (English): 26974