Task: Mathematics
Input (English): 1917 @ 4353 @ 4321 @ 3060 @ 6681 @ 7890 @ 8148
Output (English): 36370