Task: Mathematics
Input (English): 9874 @ 4134 @ 322 @ 7501 # 4070 @ 2217 # 432 @ 962
Output (English): 20508