Task: Mathematics
Input (English): 7147 @ 1234 # 7159 @ 8304 # 934 @ 3025 # 796 # 5291 # 2549
Output (English): 2981