Task: Mathematics
Input (English): 7018 @ 9544 @ 9694 @ 6371 @ 6165
Output (English): 38792