Task: Mathematics
Input (English): 8145 # 7478 @ 2677 @ 8880 @ 1362 @ 3736 @ 9760
Output (English): 27082