Task: Mathematics
Input (English): 1390 @ 7505 @ 2115 @ 6930 @ 2202 @ 7248 @ 6005 @ 5712
Output (English): 39107