Task: Mathematics
Input (English): 9609 # 2173 @ 3751 # 2021 @ 4850 @ 6677 # 3235 @ 1586
Output (English): 19044