Task: Mathematics
Input (English): 8342 # 1979 @ 2299 @ 832 @ 9485 # 5846 @ 9851 # 5843 @ 3524
Output (English): 20665