Task: Mathematics
Input (English): 8552 @ 4502 @ 4798 @ 8142
Output (English): 25994