Task: Mathematics
Input (English): 9861 # 4687 # 976 @ 9300 @ 6131 @ 5957 @ 8513 @ 9400
Output (English): 43499