Task: Mathematics
Input (English): 4618 @ 3979 @ 4992 @ 4108
Output (English): 17697